public enum InputControl extends Enum<InputControl>
AUTO
implies the
input control is automatically detected based on the type of the parameter variable in the template class
The default behavior is as follows;
String | TEXT |
int, long, short, double, float | TEXT |
Object | TEXT_AREA |
boolean | CHECK_BOX |
Enum Constant and Description |
---|
AUTO |
CHECKBOX |
EDITABLE_SELECT |
RADIO_BUTTON |
RESOURCE |
SELECT |
TEXT |
TEXT_AREA |
Modifier and Type | Method and Description |
---|---|
static InputControl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InputControl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputControl AUTO
public static final InputControl TEXT
public static final InputControl TEXT_AREA
public static final InputControl CHECKBOX
public static final InputControl RADIO_BUTTON
public static final InputControl SELECT
public static final InputControl EDITABLE_SELECT
public static final InputControl RESOURCE
public static InputControl[] values()
for (InputControl c : InputControl.values()) System.out.println(c);
public static InputControl 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 © 2010–2016 AdroitLogic. All rights reserved.