edu.wisc.ssec.mcidasv.jython
Enum Console.Actions

java.lang.Object
  extended by java.lang.Enum<Console.Actions>
      extended by 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.


Enum Constant Summary
DELETE
           
END
           
ENTER
           
HOME
           
PASTE
           
TAB
           
 
Field Summary
private  String id
           
private  int keyCode
           
private  int modifier
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Field Detail

id

private final String id

keyCode

private final int keyCode

modifier

private final int modifier
Method Detail

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()