Package com.adobe.reef.siren
Enum Field.FieldType
- java.lang.Object
-
- java.lang.Enum<Field.FieldType>
-
- com.adobe.reef.siren.Field.FieldType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Field.FieldType>
- Enclosing class:
- Field
public static enum Field.FieldType extends java.lang.Enum<Field.FieldType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Field.FieldType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Field.FieldType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BUTTON
public static final Field.FieldType BUTTON
-
CHECKBOX
public static final Field.FieldType CHECKBOX
-
COLOR
public static final Field.FieldType COLOR
-
DATE
public static final Field.FieldType DATE
-
DATETIME
public static final Field.FieldType DATETIME
-
DATETIMELOCAL
public static final Field.FieldType DATETIMELOCAL
-
EMAIL
public static final Field.FieldType EMAIL
-
FILE
public static final Field.FieldType FILE
-
HIDDEN
public static final Field.FieldType HIDDEN
-
IMAGE
public static final Field.FieldType IMAGE
-
MONTH
public static final Field.FieldType MONTH
-
NUMBER
public static final Field.FieldType NUMBER
-
PASSWORD
public static final Field.FieldType PASSWORD
-
RADIO
public static final Field.FieldType RADIO
-
RANGE
public static final Field.FieldType RANGE
-
RESET
public static final Field.FieldType RESET
-
SEARCH
public static final Field.FieldType SEARCH
-
SUBMIT
public static final Field.FieldType SUBMIT
-
TEL
public static final Field.FieldType TEL
-
TEXT
public static final Field.FieldType TEXT
-
TIME
public static final Field.FieldType TIME
-
URL
public static final Field.FieldType URL
-
WEEK
public static final Field.FieldType WEEK
-
-
Method Detail
-
values
public static Field.FieldType[] 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 (Field.FieldType c : Field.FieldType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Field.FieldType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-