Package io.micronaut.views.fields
Enum Class InputType
- All Implemented Interfaces:
Serializable
,Comparable<InputType>
,Constable
Constants for the value of the type attribute in an HTML input tag.
- Since:
- 4.1.0
- Author:
- Sergio del Amo
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionHTML Input type checkbox.HTML Input type date.HTML Input type datetime-local.HTML Input type email.HTML Input type file.HTML Input type hidden.HTML Input type number.HTML Input type password.HTML Input type radio.HTML Input type submit.HTML Input type tel.HTML Input type text.HTML Input type time.HTML Input type url. -
Method Summary
-
Enum Constant Details
-
RADIO
HTML Input type radio. -
SUBMIT
HTML Input type submit. -
HIDDEN
HTML Input type hidden. -
NUMBER
HTML Input type number. -
DATE
HTML Input type date. -
TIME
HTML Input type time. -
DATE_TIME_LOCAL
HTML Input type datetime-local. -
CHECKBOX
HTML Input type checkbox. -
EMAIL
HTML Input type email. -
FILE
HTML Input type file. -
PASSWORD
HTML Input type password. -
URL
HTML Input type url. -
TEXT
HTML Input type text. -
TEL
HTML Input type tel.
-
-
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
-
toString
-