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 Summary
Enum 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 Summary
Modifier and TypeMethodDescriptionstatic EntryFieldType
Returns 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
NORMAL
Default normal type with no special processing.PASSWORD
Password field type is used when entries should not be displayed.NUMBER
Number field type is used for input fields that should contain a numeric value (see soft keyboards and HTML5 specification).PHONE
Phone number field type for input fields that should contain a telephone number (see soft keyboards and HTML5 specification).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
URL field type (see soft keyboards and HTML5 specification). Depending on browser support, the URL can be automatically validated when submitted.
Method Details
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
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 nameNullPointerException
- if the argument is null