Enum Class FieldType

java.lang.Object
java.lang.Enum<FieldType>
com.inet.taskplanner.server.api.field.FieldType
All Implemented Interfaces:
Serializable, Comparable<FieldType>, Constable

@JsonData public enum FieldType extends Enum<FieldType>
Defines the type of field for the definition of e.g. triggers or jobs
Since:
taskplanner 3.0
  • Enum Constant Details

    • SELECT

      public static final FieldType SELECT
      A select field with a predefined set of possible values
    • SELECT_INPUT

      public static final FieldType SELECT_INPUT
      A select field which supports chunking behavior and custom renderers
    • SELECT_INPUT_MULTI

      public static final FieldType SELECT_INPUT_MULTI
      A select field which supports chunking behavior and custom renderers and multiple selection
    • TEXTFIELD

      public static final FieldType TEXTFIELD
      A text field
    • TEXTAREA

      public static final FieldType TEXTAREA
      A multiline text field
    • PASSWORD

      public static final FieldType PASSWORD
      A password field
    • GROUP

      public static final FieldType GROUP
      A group name
    • LABEL

      public static final FieldType LABEL
      A plain label. Supports line breaks
    • BOOLEAN

      public static final FieldType BOOLEAN
      A checkbox that allows the values 'true' and 'false' (as String)
    • FILE

      public static final FieldType FILE
      A file chooser that allows the selection of files. Different protocols like 'file' and 'repo' can be set
    • FOLDER

      public static final FieldType FOLDER
      A file chooser that allows the selection of folder. Different protocols like 'file' and 'repo' can be set
    • FILE_OR_FOLDER

      public static final FieldType FILE_OR_FOLDER
      A file chooser that allows the selection of files or folders. Different protocols like 'file' and 'repo' can be set
    • DATE

      public static final FieldType DATE
      A date selection field.
    • TIME

      public static final FieldType TIME
      A time selection field
    • COLOR

      public static final FieldType COLOR
      A color field
    • FIX_NUMBER

      public static final FieldType FIX_NUMBER
      An integer field
    • UNIT_FIX_NUMBER

      public static final FieldType UNIT_FIX_NUMBER
      A integer unit field with a unit
    • FLOAT_NUMBER

      public static final FieldType FLOAT_NUMBER
      A float field
    • UNIT_FLOAT_NUMBER

      public static final FieldType UNIT_FLOAT_NUMBER
      A float field with a unit
    • NUMBER_RANGE

      public static final FieldType NUMBER_RANGE
      A fixed number range
    • CURRENCY

      public static final FieldType CURRENCY
      A float field
    • STRING_TABLE

      public static final FieldType STRING_TABLE
      A table with string key:value pairs
  • Method Details

    • values

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