org.joshy.gfx.event
Enum KeyEvent.KeyCode

java.lang.Object
  extended by java.lang.Enum<KeyEvent.KeyCode>
      extended by org.joshy.gfx.event.KeyEvent.KeyCode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<KeyEvent.KeyCode>
Enclosing class:
KeyEvent

public static enum KeyEvent.KeyCode
extends java.lang.Enum<KeyEvent.KeyCode>


Enum Constant Summary
KEY_0
           
KEY_1
           
KEY_2
           
KEY_3
           
KEY_4
           
KEY_5
           
KEY_6
           
KEY_7
           
KEY_8
           
KEY_9
           
KEY_A
           
KEY_ALT
           
KEY_B
           
KEY_BACKQUOTE
           
KEY_BACKSLASH
           
KEY_BACKSPACE
           
KEY_BRACKETLEFT
           
KEY_BRACKETRIGHT
           
KEY_C
           
KEY_COMMA
           
KEY_CONTROL
           
KEY_D
           
KEY_DELETE
           
KEY_DOWN_ARROW
           
KEY_E
           
KEY_ENTER
           
KEY_EQUALS
           
KEY_ESCAPE
           
KEY_F
           
KEY_G
           
KEY_H
           
KEY_I
           
KEY_J
           
KEY_K
           
KEY_L
           
KEY_LEFT_ARROW
           
KEY_M
           
KEY_META
           
KEY_MINUS
           
KEY_N
           
KEY_O
           
KEY_P
           
KEY_PERIOD
           
KEY_Q
           
KEY_QUOTE
           
KEY_R
           
KEY_RIGHT_ARROW
           
KEY_S
           
KEY_SEMICOLON
           
KEY_SHIFT
           
KEY_SLASH
           
KEY_SPACE
           
KEY_T
           
KEY_TAB
           
KEY_U
           
KEY_UNKNOWN
           
KEY_UP_ARROW
           
KEY_V
           
KEY_W
           
KEY_X
           
KEY_Y
           
KEY_Z
           
 
Method Summary
 char getChar()
           
static KeyEvent.KeyCode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static KeyEvent.KeyCode[] 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

KEY_A

public static final KeyEvent.KeyCode KEY_A

KEY_B

public static final KeyEvent.KeyCode KEY_B

KEY_C

public static final KeyEvent.KeyCode KEY_C

KEY_D

public static final KeyEvent.KeyCode KEY_D

KEY_E

public static final KeyEvent.KeyCode KEY_E

KEY_F

public static final KeyEvent.KeyCode KEY_F

KEY_G

public static final KeyEvent.KeyCode KEY_G

KEY_H

public static final KeyEvent.KeyCode KEY_H

KEY_I

public static final KeyEvent.KeyCode KEY_I

KEY_J

public static final KeyEvent.KeyCode KEY_J

KEY_K

public static final KeyEvent.KeyCode KEY_K

KEY_L

public static final KeyEvent.KeyCode KEY_L

KEY_M

public static final KeyEvent.KeyCode KEY_M

KEY_N

public static final KeyEvent.KeyCode KEY_N

KEY_O

public static final KeyEvent.KeyCode KEY_O

KEY_P

public static final KeyEvent.KeyCode KEY_P

KEY_Q

public static final KeyEvent.KeyCode KEY_Q

KEY_R

public static final KeyEvent.KeyCode KEY_R

KEY_S

public static final KeyEvent.KeyCode KEY_S

KEY_T

public static final KeyEvent.KeyCode KEY_T

KEY_U

public static final KeyEvent.KeyCode KEY_U

KEY_V

public static final KeyEvent.KeyCode KEY_V

KEY_W

public static final KeyEvent.KeyCode KEY_W

KEY_X

public static final KeyEvent.KeyCode KEY_X

KEY_Y

public static final KeyEvent.KeyCode KEY_Y

KEY_Z

public static final KeyEvent.KeyCode KEY_Z

KEY_BACKQUOTE

public static final KeyEvent.KeyCode KEY_BACKQUOTE

KEY_1

public static final KeyEvent.KeyCode KEY_1

KEY_2

public static final KeyEvent.KeyCode KEY_2

KEY_3

public static final KeyEvent.KeyCode KEY_3

KEY_4

public static final KeyEvent.KeyCode KEY_4

KEY_5

public static final KeyEvent.KeyCode KEY_5

KEY_6

public static final KeyEvent.KeyCode KEY_6

KEY_7

public static final KeyEvent.KeyCode KEY_7

KEY_8

public static final KeyEvent.KeyCode KEY_8

KEY_9

public static final KeyEvent.KeyCode KEY_9

KEY_0

public static final KeyEvent.KeyCode KEY_0

KEY_MINUS

public static final KeyEvent.KeyCode KEY_MINUS

KEY_EQUALS

public static final KeyEvent.KeyCode KEY_EQUALS

KEY_SPACE

public static final KeyEvent.KeyCode KEY_SPACE

KEY_SLASH

public static final KeyEvent.KeyCode KEY_SLASH

KEY_PERIOD

public static final KeyEvent.KeyCode KEY_PERIOD

KEY_COMMA

public static final KeyEvent.KeyCode KEY_COMMA

KEY_QUOTE

public static final KeyEvent.KeyCode KEY_QUOTE

KEY_SEMICOLON

public static final KeyEvent.KeyCode KEY_SEMICOLON

KEY_BRACKETLEFT

public static final KeyEvent.KeyCode KEY_BRACKETLEFT

KEY_BRACKETRIGHT

public static final KeyEvent.KeyCode KEY_BRACKETRIGHT

KEY_BACKSLASH

public static final KeyEvent.KeyCode KEY_BACKSLASH

KEY_SHIFT

public static final KeyEvent.KeyCode KEY_SHIFT

KEY_CONTROL

public static final KeyEvent.KeyCode KEY_CONTROL

KEY_ALT

public static final KeyEvent.KeyCode KEY_ALT

KEY_META

public static final KeyEvent.KeyCode KEY_META

KEY_BACKSPACE

public static final KeyEvent.KeyCode KEY_BACKSPACE

KEY_DELETE

public static final KeyEvent.KeyCode KEY_DELETE

KEY_TAB

public static final KeyEvent.KeyCode KEY_TAB

KEY_ENTER

public static final KeyEvent.KeyCode KEY_ENTER

KEY_DOWN_ARROW

public static final KeyEvent.KeyCode KEY_DOWN_ARROW

KEY_UP_ARROW

public static final KeyEvent.KeyCode KEY_UP_ARROW

KEY_LEFT_ARROW

public static final KeyEvent.KeyCode KEY_LEFT_ARROW

KEY_RIGHT_ARROW

public static final KeyEvent.KeyCode KEY_RIGHT_ARROW

KEY_ESCAPE

public static final KeyEvent.KeyCode KEY_ESCAPE

KEY_UNKNOWN

public static final KeyEvent.KeyCode KEY_UNKNOWN
Method Detail

values

public static KeyEvent.KeyCode[] 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 (KeyEvent.KeyCode c : KeyEvent.KeyCode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static KeyEvent.KeyCode valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getChar

public char getChar()