java.lang.Object
java.lang.Enum<ToggleType>
de.espirit.firstspirit.access.store.templatestore.gom.ToggleType
All Implemented Interfaces:
Serializable, Comparable<ToggleType>, Constable

public enum ToggleType extends Enum<ToggleType>
Display type for toggle field
Since:
4.0
  • Enum Constant Details

    • CHECKBOX

      public static final ToggleType CHECKBOX
      Checkbox, representing on and off state
      Since:
      4.0
    • RADIO

      public static final ToggleType RADIO
      Two radio buttons for on and off, respectively
      Since:
      4.0
  • Method Details

    • values

      public static ToggleType[] 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 ToggleType 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