public enum FormControl extends java.lang.Enum<FormControl>
| Enum Constant and Description |
|---|
checkbox |
DatePicker |
DateTimePicker |
input |
radio |
select |
textarea |
TimePicker |
Upload |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCode() |
java.lang.String |
getName() |
int |
getType() |
static FormControl |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FormControl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormControl input
public static final FormControl select
public static final FormControl checkbox
public static final FormControl radio
public static final FormControl textarea
public static final FormControl TimePicker
public static final FormControl DatePicker
public static final FormControl DateTimePicker
public static final FormControl Upload
public static FormControl[] values()
for (FormControl c : FormControl.values()) System.out.println(c);
public static FormControl 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 java.lang.String getCode()
public java.lang.String getName()
public int getType()