public static enum Button.ButtonAction extends java.lang.Enum<Button.ButtonAction>
Enum Constant and Description |
---|
Click |
Disabled |
Down |
Enabled |
FocusGained |
FocusLost |
HighlightOff |
HighlightOn |
Hover |
Up |
Modifier and Type | Method and Description |
---|---|
static Button.ButtonAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Button.ButtonAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Button.ButtonAction Down
public static final Button.ButtonAction Up
public static final Button.ButtonAction Click
public static final Button.ButtonAction HighlightOn
public static final Button.ButtonAction HighlightOff
public static final Button.ButtonAction FocusGained
public static final Button.ButtonAction FocusLost
public static final Button.ButtonAction Hover
public static final Button.ButtonAction Enabled
public static final Button.ButtonAction Disabled
public static Button.ButtonAction[] values()
for (Button.ButtonAction c : Button.ButtonAction.values()) System.out.println(c);
public static Button.ButtonAction 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