public enum KeyAction extends Enum<KeyAction>
Enum Constant and Description |
---|
F1Down
Function key F1 is pressed
|
F1Up
Function key F1 is released
|
F2Down
Function key F2 is pressed
|
F2Up
Function key F2 is released
|
None
No key behavior defined
|
TriggerDown
Trigger key is pressed
|
TriggerF1Down
Trigger key and F1 key are pressed simultaneously
|
TriggerF2Down
Trigger key and F2 key are pressed simultaneously
|
TriggerUp
Trigger key is released
|
Modifier and Type | Method and Description |
---|---|
static KeyAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyAction None
public static final KeyAction TriggerDown
public static final KeyAction TriggerUp
public static final KeyAction F1Down
public static final KeyAction F1Up
public static final KeyAction F2Down
public static final KeyAction F2Up
public static final KeyAction TriggerF1Down
public static final KeyAction TriggerF2Down
public static KeyAction[] values()
for (KeyAction c : KeyAction.values()) System.out.println(c);
public static KeyAction 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 null