public static enum Input.Type extends java.lang.Enum<Input.Type>
Enum Constant and Description |
---|
button
Defines a clickable button (mostly used with a JavaScript to activate
a script)
|
checkbox
Defines a checkbox
|
file
Defines an input field and a "Browse..." button, for file uploads
|
image
Defines an image as a submit button
|
password
Defines a password field.
|
radio
Defines a radio button
|
submit
Defines a submit button.
|
text
Defines a one-line input field that a user can enter text into.
|
Modifier and Type | Method and Description |
---|---|
static Input.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Input.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Input.Type button
public static final Input.Type checkbox
public static final Input.Type file
public static final Input.Type image
public static final Input.Type password
public static final Input.Type radio
public static final Input.Type text
public static final Input.Type submit
public static Input.Type[] values()
for (Input.Type c : Input.Type.values()) System.out.println(c);
public static Input.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 null