Enum Class TextFieldType

java.lang.Object
java.lang.Enum<TextFieldType>
com.dua3.utility.fx.controls.TextFieldType
All Implemented Interfaces:
Serializable, Comparable<TextFieldType>, Constable

public enum TextFieldType extends Enum<TextFieldType>
A type enum for text fields.
  • Enum Constant Details

    • TEXT

      public static final TextFieldType TEXT
      Represents plain text input in a text field.
    • INTEGER

      public static final TextFieldType INTEGER
      Represents signed integer input in a text field.
    • SIGNED_INTEGER

      public static final TextFieldType SIGNED_INTEGER
      Represents unsigned integer input in a text field.
    • FLOAT

      public static final TextFieldType FLOAT
      Represents floating point input in a text field.
  • Method Details

    • values

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