public static enum HTMLInput.Type extends java.lang.Enum<HTMLInput.Type>
Enum Constant and Description |
---|
BUTTON
button
|
CHECKBOX
A check box
|
COLOR
An sRGB color with 8-bit red, green, and blue components
|
DATE
A date (year, month, day) with no time zone
|
DATETIME
A date and time (year, month, day, hour, minute, second, fraction of a second) with the time zone set to UTC
A date and time control
|
DATETIME_LOCAL
A date and time (year, month, day, hour, minute, second, fraction of a second) with no time zone
|
EMAIL
An e-mail address or list of e-mail addresses
|
FILE
Zero or more files each with a MIME type and optionally a file name
|
HIDDEN
An arbitrary string
|
ICAL_RRULE
iCal RRule
|
IMAGE
A coordinate, relative to a particular image's size, with the extra semantic that it must be the last value selected and initiates form submission
|
MONTH
A date consisting of a year and a month with no time zone
|
NUMBER
A numerical value
|
PASSWORD
Text field that obscures data entry
|
RADIO
A radio button
|
RANGE
A numerical value, with the extra semantic that the exact value is not important
|
RESET
reset
|
SEARCH
Search field
|
SUBMIT
An enumerated value, with the extra semantic that it must be the last value selected and initiates form submission
|
TEL
Telephone
|
TEXT
Text with no line breaks
|
TIME
A time (hour, minute, seconds, fractional seconds) with no time zone
|
URL
An absolute IRI
|
WEEK
A date consisting of a week-year number and a week number with no time zone
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
name
the type name
|
Modifier and Type | Method and Description |
---|---|
static HTMLInput.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HTMLInput.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HTMLInput.Type HIDDEN
public static final HTMLInput.Type TEXT
public static final HTMLInput.Type SEARCH
public static final HTMLInput.Type TEL
public static final HTMLInput.Type URL
public static final HTMLInput.Type EMAIL
public static final HTMLInput.Type PASSWORD
public static final HTMLInput.Type DATETIME
public static final HTMLInput.Type DATE
public static final HTMLInput.Type MONTH
public static final HTMLInput.Type WEEK
public static final HTMLInput.Type TIME
public static final HTMLInput.Type DATETIME_LOCAL
public static final HTMLInput.Type NUMBER
public static final HTMLInput.Type RANGE
public static final HTMLInput.Type COLOR
public static final HTMLInput.Type CHECKBOX
public static final HTMLInput.Type RADIO
public static final HTMLInput.Type FILE
public static final HTMLInput.Type SUBMIT
public static final HTMLInput.Type IMAGE
public static final HTMLInput.Type RESET
public static final HTMLInput.Type BUTTON
public static final HTMLInput.Type ICAL_RRULE
public static HTMLInput.Type[] values()
for (HTMLInput.Type c : HTMLInput.Type.values()) System.out.println(c);
public static HTMLInput.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.