Enum Class ScheduleType

java.lang.Object
java.lang.Enum<ScheduleType>
com.jbstrap.ui.components.calendar.ScheduleType
All Implemented Interfaces:
Serializable, Comparable<ScheduleType>, Constable

public enum ScheduleType extends Enum<ScheduleType>
Calendar schedule (event) types
Since:
4.0
Author:
JBStrap
  • Enum Constant Details

  • Method Details

    • values

      public static ScheduleType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ScheduleType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getJSName

      protected String getJSName()
      Returns:
      The name of the schedule, used in the javascript component
    • fromName

      protected static ScheduleType fromName(String name)
      Parameters:
      name - The name of the schedule type
      Returns:
      The corresponding schedule type or null if not found