public enum FormElementType extends java.lang.Enum<FormElementType>
| Enum Constant and Description |
|---|
CHECKBOX |
DROPDOWN |
LABEL |
SLIDER |
STEP_SLIDER |
TEXT_FIELD |
| Modifier and Type | Method and Description |
|---|---|
static FormElementType |
byName(java.lang.String name)
Get a form element type by its name.
|
java.lang.String |
getName() |
java.lang.Class<? extends AFormElement> |
getType() |
static FormElementType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FormElementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormElementType CHECKBOX
public static final FormElementType DROPDOWN
public static final FormElementType LABEL
public static final FormElementType SLIDER
public static final FormElementType STEP_SLIDER
public static final FormElementType TEXT_FIELD
public static FormElementType[] values()
for (FormElementType c : FormElementType.values()) System.out.println(c);
public static FormElementType 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@Nullable public static FormElementType byName(java.lang.String name)
name - The name of the form element typepublic java.lang.Class<? extends AFormElement> getType()
public java.lang.String getName()