public enum SelectionType extends java.lang.Enum<SelectionType> implements ValueEnum
| Enum Constant and Description |
|---|
BUTTON
object moves to "down" state temporarily (normal button)
|
CHECKBOX
object remains in "down" state until clicked again (checkbox)
|
RADIO
object moves to "down" state, causing another object to go up (radio)
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue() |
static SelectionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SelectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SelectionType BUTTON
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "button".
public static final SelectionType CHECKBOX
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "checkbox".
public static final SelectionType RADIO
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "radio".
public static SelectionType[] values()
for (SelectionType c : SelectionType.values()) System.out.println(c);
public static SelectionType 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