public enum InputType extends Enum<InputType>
Java class for InputType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="InputType"> <restriction base="{http://www.w3.org/2001/XMLSchema}token"> <enumeration value="text"/> <enumeration value="password"/> <enumeration value="checkbox"/> <enumeration value="radio"/> <enumeration value="submit"/> <enumeration value="reset"/> <enumeration value="file"/> <enumeration value="hidden"/> <enumeration value="image"/> <enumeration value="button"/> <enumeration value="tel"/> <enumeration value="search"/> <enumeration value="url"/> <enumeration value="email"/> <enumeration value="datetime"/> <enumeration value="date"/> <enumeration value="month"/> <enumeration value="week"/> <enumeration value="time"/> <enumeration value="datetime-local"/> <enumeration value="number"/> <enumeration value="range"/> <enumeration value="color"/> </restriction> </simpleType>
Enum Constant and Description |
---|
BUTTON |
CHECKBOX |
COLOR |
DATE |
DATETIME |
DATETIME_LOCAL |
EMAIL |
FILE |
HIDDEN |
IMAGE |
MONTH |
NUMBER |
PASSWORD |
RADIO |
RANGE |
RESET |
SEARCH |
SUBMIT |
TEL |
TEXT |
TIME |
URL |
WEEK |
Modifier and Type | Method and Description |
---|---|
static InputType |
fromValue(String v) |
String |
value() |
static InputType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InputType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputType TEXT
public static final InputType PASSWORD
public static final InputType CHECKBOX
public static final InputType RADIO
public static final InputType SUBMIT
public static final InputType RESET
public static final InputType FILE
public static final InputType HIDDEN
public static final InputType IMAGE
public static final InputType BUTTON
public static final InputType TEL
public static final InputType SEARCH
public static final InputType URL
public static final InputType EMAIL
public static final InputType DATETIME
public static final InputType DATE
public static final InputType MONTH
public static final InputType WEEK
public static final InputType TIME
public static final InputType DATETIME_LOCAL
public static final InputType NUMBER
public static final InputType RANGE
public static final InputType COLOR
public static InputType[] values()
for (InputType c : InputType.values()) System.out.println(c);
public static InputType 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 nullpublic String value()
Copyright © 2021 Project Mixer2. All rights reserved.