public static enum Option.FieldType extends java.lang.Enum<Option.FieldType>
Enum Constant and Description |
---|
CHECKBOX |
CHECKBOX_MULTIPLE |
DATE |
NUMERIC |
RADIO |
SELECT |
TEXT |
Modifier and Type | Method and Description |
---|---|
static Option.FieldType |
create(java.lang.String value) |
java.lang.String |
getValue() |
java.lang.String |
toString() |
static Option.FieldType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Option.FieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Option.FieldType CHECKBOX
public static final Option.FieldType CHECKBOX_MULTIPLE
public static final Option.FieldType DATE
public static final Option.FieldType NUMERIC
public static final Option.FieldType RADIO
public static final Option.FieldType SELECT
public static final Option.FieldType TEXT
public static Option.FieldType[] values()
for (Option.FieldType c : Option.FieldType.values()) System.out.println(c);
public static Option.FieldType 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 nullpublic static Option.FieldType create(java.lang.String value)
public java.lang.String getValue()
public java.lang.String toString()
toString
in class java.lang.Enum<Option.FieldType>