public static enum HTMLInputElement.InputType extends Enum<HTMLInputElement.InputType>
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 HTMLInputElement.InputType |
get(String type) |
String |
getType() |
static HTMLInputElement.InputType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HTMLInputElement.InputType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HTMLInputElement.InputType BUTTON
public static final HTMLInputElement.InputType CHECKBOX
public static final HTMLInputElement.InputType COLOR
public static final HTMLInputElement.InputType DATE
public static final HTMLInputElement.InputType DATETIME
public static final HTMLInputElement.InputType DATETIME_LOCAL
public static final HTMLInputElement.InputType EMAIL
public static final HTMLInputElement.InputType FILE
public static final HTMLInputElement.InputType HIDDEN
public static final HTMLInputElement.InputType IMAGE
public static final HTMLInputElement.InputType MONTH
public static final HTMLInputElement.InputType NUMBER
public static final HTMLInputElement.InputType PASSWORD
public static final HTMLInputElement.InputType RADIO
public static final HTMLInputElement.InputType RANGE
public static final HTMLInputElement.InputType RESET
public static final HTMLInputElement.InputType SEARCH
public static final HTMLInputElement.InputType SUBMIT
public static final HTMLInputElement.InputType TEL
public static final HTMLInputElement.InputType TEXT
public static final HTMLInputElement.InputType TIME
public static final HTMLInputElement.InputType URL
public static final HTMLInputElement.InputType WEEK
public static HTMLInputElement.InputType[] values()
for (HTMLInputElement.InputType c : HTMLInputElement.InputType.values()) System.out.println(c);
public static HTMLInputElement.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 getType()
public static HTMLInputElement.InputType get(String type)
Copyright © 2018 Xalys. All rights reserved.