public enum FormControl extends Enum<FormControl>
Enum Constant and Description |
---|
checkbox |
number |
password |
radio |
select |
text |
textarea |
Modifier and Type | Method and Description |
---|---|
static FormControl |
valueOf(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 checkbox
public static final FormControl number
public static final FormControl password
public static final FormControl radio
public static final FormControl select
public static final FormControl textarea
public static final FormControl text
public static FormControl[] values()
for (FormControl c : FormControl.values()) System.out.println(c);
public static FormControl valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021. All rights reserved.