edu.wisc.ssec.mcidasv.jython
Enum Console.Actions
java.lang.Object
java.lang.Enum<Console.Actions>
edu.wisc.ssec.mcidasv.jython.Console.Actions
- All Implemented Interfaces:
- Serializable, Comparable<Console.Actions>
- Enclosing class:
- Console
public static enum Console.Actions
- extends Enum<Console.Actions>
Maps a "jython action" to a keystroke.
TAB
public static final Console.Actions TAB
DELETE
public static final Console.Actions DELETE
END
public static final Console.Actions END
ENTER
public static final Console.Actions ENTER
HOME
public static final Console.Actions HOME
PASTE
public static final Console.Actions PASTE
id
private final String id
keyCode
private final int keyCode
modifier
private final int modifier
values
public static Console.Actions[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Console.Actions c : Console.Actions.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Console.Actions valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getId
public String getId()
getKeyStroke
public KeyStroke getKeyStroke()