public static enum Console.Actions extends java.lang.Enum<Console.Actions>
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
id |
private int |
keyCode |
private int |
modifier |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId() |
javax.swing.KeyStroke |
getKeyStroke() |
static Console.Actions |
valueOf(java.lang.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 final Console.Actions PASTE
private final java.lang.String id
private final int keyCode
private final int modifier
public static Console.Actions[] values()
for (Console.Actions c : Console.Actions.values()) System.out.println(c);
public static Console.Actions 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 nullpublic java.lang.String getId()
public javax.swing.KeyStroke getKeyStroke()