public enum FieldType extends java.lang.Enum<FieldType> implements EnumConverter<FieldType>
Enum Constant and Description |
---|
CHECKBOX |
DATE |
DATETIME |
LABELS |
MULTISELECT |
NUMBER |
RADIOBUTTONS |
SELECT |
TEXT |
TEXTAREA |
URL |
Modifier and Type | Method and Description |
---|---|
static FieldType |
from(java.lang.String value) |
java.lang.Object |
to(FieldType v) |
static FieldType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldType CHECKBOX
public static final FieldType RADIOBUTTONS
public static final FieldType DATE
public static final FieldType DATETIME
public static final FieldType NUMBER
public static final FieldType LABELS
public static final FieldType SELECT
public static final FieldType MULTISELECT
public static final FieldType TEXT
public static final FieldType TEXTAREA
public static final FieldType URL
public static FieldType[] values()
for (FieldType c : FieldType.values()) System.out.println(c);
public static 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 FieldType from(java.lang.String value)
public java.lang.Object to(FieldType v)
to
in interface EnumConverter<FieldType>