Package eu.webtoolkit.jwt
Enum Class InputMode
- All Implemented Interfaces:
Serializable,Comparable<InputMode>,Constable
Enumeration that describes different input modes.
The input mode tells the browser what layout should be used for a virtual keybord when editing this field. This mainly impacts phone users.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLike Numeric + ensure that the virtual keyboard has the decimal separator.Ensure that the virtual keyboard has "@".No virtual keyboard should be displayed.Ensure that the virtual keyboard has the digit from 0 to 9.Does not specify any input mode to the browser.A virtual keyboard convenient for search.A numeric virtual keyboard wich also have "#"" and "*".The locale-specific standard virtual keyboard.Ensure that the virtual keyboard has "/". -
Method Summary
Modifier and TypeMethodDescriptionintgetValue()Returns the numerical representation of this enum.static InputModeReturns the enum constant of this class with the specified name.static InputMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Off
Does not specify any input mode to the browser. -
None
No virtual keyboard should be displayed. -
Text
The locale-specific standard virtual keyboard. -
Tel
A numeric virtual keyboard wich also have "#"" and "*". -
Url
Ensure that the virtual keyboard has "/". -
Email
Ensure that the virtual keyboard has "@". -
Numeric
Ensure that the virtual keyboard has the digit from 0 to 9. Does usually show only the numbers with maybe also "-" . -
Decimal
Like Numeric + ensure that the virtual keyboard has the decimal separator. -
Search
A virtual keyboard convenient for search.
-
-
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
-
getValue
public int getValue()Returns the numerical representation of this enum.
-