Enum Class ComponentType

java.lang.Object
java.lang.Enum<ComponentType>
de.julianweinelt.datacat.dbx.api.ui.ComponentType
All Implemented Interfaces:
Serializable, Comparable<ComponentType>, Constable

public enum ComponentType extends Enum<ComponentType>
  • Enum Constant Details

    • TEXT

      public static final ComponentType TEXT
      A standard text-driven component for entering text
    • CHECKBOX

      public static final ComponentType CHECKBOX
      A component for storing boolean values
    • NUMBER

      public static final ComponentType NUMBER
      A component for storing numbers
    • COMBOBOX

      public static final ComponentType COMBOBOX
      A component for making selection out of a list
    • BUTTON

      public static final ComponentType BUTTON
      A component for buttons, executing an action on press
    • LABEL

      public static final ComponentType LABEL
      A component just to write some text on screen
    • COLOR

      public static final ComponentType COLOR
      A component for selecting colors
    • SEPARATOR

      public static final ComponentType SEPARATOR
      A component for separating
  • Method Details

    • values

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