Enum Class EntryFieldType

java.lang.Object
java.lang.Enum<EntryFieldType>
com.iizix.prop.ui.EntryFieldType
All Implemented Interfaces:
Serializable, Comparable<EntryFieldType>, Constable

public enum EntryFieldType extends Enum<EntryFieldType>
Enum used for entry field types.
Author:
Christopher Mindus
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Email field type is used for input fields that should contain an e-mail address (see soft keyboards and HTML5 specification).
    Default normal type with no special processing.
    Number field type is used for input fields that should contain a numeric value (see soft keyboards and HTML5 specification).
    Password field type is used when entries should not be displayed.
    Phone number field type for input fields that should contain a telephone number (see soft keyboards and HTML5 specification).
    URL field type (see soft keyboards and HTML5 specification).
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • NORMAL

      public static final EntryFieldType NORMAL
      Default normal type with no special processing.
    • PASSWORD

      public static final EntryFieldType PASSWORD
      Password field type is used when entries should not be displayed.
    • NUMBER

      public static final EntryFieldType NUMBER
      Number field type is used for input fields that should contain a numeric value (see soft keyboards and HTML5 specification).
    • PHONE

      public static final EntryFieldType PHONE
      Phone number field type for input fields that should contain a telephone number (see soft keyboards and HTML5 specification).
    • EMAIL

      public static final EntryFieldType EMAIL
      Email field type is used for input fields that should contain an e-mail address (see soft keyboards and HTML5 specification). Depending on browser support, the e-mail address can be automatically validated when submitted.
    • URL

      public static final EntryFieldType URL
      URL field type (see soft keyboards and HTML5 specification). Depending on browser support, the URL can be automatically validated when submitted.
  • Method Details

    • values

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