Package com.crawljax.forms
Enum FormInput.InputType
- java.lang.Object
-
- java.lang.Enum<FormInput.InputType>
-
- com.crawljax.forms.FormInput.InputType
-
- All Implemented Interfaces:
Serializable,Comparable<FormInput.InputType>
- Enclosing class:
- FormInput
public static enum FormInput.InputType extends Enum<FormInput.InputType>
-
-
Constructor Summary
Constructors Modifier Constructor Description privateInputType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FormInput.InputTypevalueOf(String name)Returns the enum constant of this type with the specified name.static FormInput.InputType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEXT
public static final FormInput.InputType TEXT
-
RADIO
public static final FormInput.InputType RADIO
-
CHECKBOX
public static final FormInput.InputType CHECKBOX
-
PASSWORD
public static final FormInput.InputType PASSWORD
-
HIDDEN
public static final FormInput.InputType HIDDEN
-
SELECT
public static final FormInput.InputType SELECT
-
TEXTAREA
public static final FormInput.InputType TEXTAREA
-
EMAIL
public static final FormInput.InputType EMAIL
-
INPUT
public static final FormInput.InputType INPUT
-
NUMBER
public static final FormInput.InputType NUMBER
-
-
Method Detail
-
values
public static FormInput.InputType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FormInput.InputType c : FormInput.InputType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FormInput.InputType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-