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
public static final SelectionType CHECKBOX
public static final SelectionType 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