Package com.iizix.prop.ui
Enum Class EntryFieldType
- All Implemented Interfaces:
- Serializable,- Comparable<EntryFieldType>,- Constable
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 SummaryEnum ConstantsEnum ConstantDescriptionEmail 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 SummaryModifier and TypeMethodDescription- static EntryFieldTypeReturns the enum constant of this class with the specified name.- static EntryFieldType[]- values()Returns an array containing the constants of this enum class, in the order they are declared.
- Enum Constant Details- NORMALDefault normal type with no special processing.
- PASSWORDPassword field type is used when entries should not be displayed.
- NUMBERNumber field type is used for input fields that should contain a numeric value (see soft keyboards and HTML5 specification).
- PHONEPhone number field type for input fields that should contain a telephone number (see soft keyboards and HTML5 specification).
- EMAILEmail 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.
- URLURL field type (see soft keyboards and HTML5 specification). Depending on browser support, the URL can be automatically validated when submitted.
 
- Method Details- valuesReturns 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
 
- valueOfReturns 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