public enum TextInputMode extends Enum<TextInputMode>
inputmode attribute of an input html element.| Enum Constant and Description |
|---|
DECIMAL |
EMAIL |
NONE |
NUMERIC |
SEARCH |
TEL |
TEXT |
URL |
| Modifier and Type | Method and Description |
|---|---|
static TextInputMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextInputMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextInputMode NONE
public static final TextInputMode TEXT
public static final TextInputMode DECIMAL
public static final TextInputMode NUMERIC
public static final TextInputMode TEL
public static final TextInputMode SEARCH
public static final TextInputMode EMAIL
public static final TextInputMode URL
public static TextInputMode[] values()
for (TextInputMode c : TextInputMode.values()) System.out.println(c);
public static TextInputMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2024 Miki. All rights reserved.