public static enum Console.Actions extends Enum<Console.Actions>
| Modifier and Type | Field and Description |
|---|---|
private String |
id |
private int |
keyCode |
private int |
modifier |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
KeyStroke |
getKeyStroke() |
static Console.Actions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Console.Actions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Console.Actions TAB
public static final Console.Actions DELETE
public static final Console.Actions END
public static final Console.Actions ENTER
public static final Console.Actions HOME
public static Console.Actions[] values()
for (Console.Actions c : Console.Actions.values()) System.out.println(c);
public static Console.Actions 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 nullpublic KeyStroke getKeyStroke()