hirondelle.web4jtools.codegenerator.codes
Enum ControlStyle
Object
Enum<ControlStyle>
hirondelle.web4jtools.codegenerator.codes.ControlStyle
- All Implemented Interfaces:
- Serializable, Comparable<ControlStyle>
public enum ControlStyle
- extends Enum<ControlStyle>
HTML Form control.
Text
public static final ControlStyle Text
Radio
public static final ControlStyle Radio
Checkbox
public static final ControlStyle Checkbox
Password
public static final ControlStyle Password
Hidden
public static final ControlStyle Hidden
Select
public static final ControlStyle Select
Textarea
public static final ControlStyle Textarea
values
public static ControlStyle[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ControlStyle c : ControlStyle.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ControlStyle valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getControlName
public String getControlName()
Copyright Hirondelle Systems - Generated 2013Oct19.12.26