org.jagatoo.input.devices.components
Class Keys

java.lang.Object
  extended by org.jagatoo.input.devices.components.Keys

public class Keys
extends java.lang.Object

This class provides public static access to all Keyboard keys.


Field Summary
static Key _0
           
static Key _1
           
static Key _2
           
static Key _3
           
static Key _4
           
static Key _5
           
static Key _6
           
static Key _7
           
static Key _8
           
static Key _9
           
static Key A
           
static Key ALT
           
static Key ALT_GRAPH
           
static Key B
           
static Key BACK_SPACE
           
static Key C
           
static Key CAPS_LOCK
           
static Key CIRCUMFLEX
           
static Key D
           
static Key DELETE
           
static Key DOWN
           
static Key E
           
static Key END
           
static Key ENTER
           
static Key ESCAPE
           
static Key F
           
static Key F1
           
static Key F10
           
static Key F11
           
static Key F12
           
static Key F2
           
static Key F3
           
static Key F4
           
static Key F5
           
static Key F6
           
static Key F7
           
static Key F8
           
static Key F9
           
static Key G
           
static Key H
           
static Key HOME
           
static Key I
           
static Key INSERT
           
static Key J
           
static Key K
           
static Key L
           
static Key LEFT
           
static Key LEFT_CONTROL
           
static Key LEFT_META
           
static Key LEFT_SHIFT
           
static Key LOCAL_KEY1
          Localized key:
two keys left to the back-space
static Key LOCAL_KEY10
          Localized key:
three keys right to M
static Key LOCAL_KEY11
          Localized key:
two keys left to the X
static Key LOCAL_KEY2
          Localized key:
one key left to the back-space
static Key LOCAL_KEY3
          Localized key:
one key right to P
static Key LOCAL_KEY4
          Localized key:
two key right to P
static Key LOCAL_KEY5
          Localized key:
one key right to L
static Key LOCAL_KEY6
          Localized key:
two keys right to L
static Key LOCAL_KEY7
          Localized key:
three keys right to L
static Key LOCAL_KEY8
          Localized key:
one key right to M
static Key LOCAL_KEY9
          Localized key:
two keys right to M
static Key M
           
static int MODIFIER_ALT
           
static int MODIFIER_ALT_GRAPH
           
static int MODIFIER_CONTROL
           
static int MODIFIER_LEFT_META
           
static int MODIFIER_RIGHT_META
           
static int MODIFIER_SHIFT
           
static Key N
           
static Key NUM_LOCK
           
protected static int numKeys
           
static Key NUMPAD_ADD
           
static Key NUMPAD_DECIMAL
           
static Key NUMPAD_DIVIDE
           
static Key NUMPAD_ENTER
           
static Key NUMPAD_MULTIPLY
           
static Key NUMPAD_SUBTRACT
           
static Key NUMPAD0
           
static Key NUMPAD1
           
static Key NUMPAD2
           
static Key NUMPAD3
           
static Key NUMPAD4
           
static Key NUMPAD5
           
static Key NUMPAD6
           
static Key NUMPAD7
           
static Key NUMPAD8
           
static Key NUMPAD9
           
static Key O
           
static Key P
           
static Key PAGE_DOWN
           
static Key PAGE_UP
           
static Key PAUSE
           
static Key PRINTSCREEN
           
static Key Q
           
static Key R
           
static Key RIGHT
           
static Key RIGHT_CONTROL
           
static Key RIGHT_META
           
static Key RIGHT_SHIFT
           
static Key S
           
static Key SCROLL_LOCK
           
static Key SPACE
           
static Key T
           
static Key TAB
           
static Key U
           
static Key UP
           
static Key V
           
static Key W
           
static Key X
           
static Key Y
           
static Key Z
           
 
Constructor Summary
Keys()
           
 
Method Summary
static int getNumKeys()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numKeys

protected static int numKeys

MODIFIER_SHIFT

public static final int MODIFIER_SHIFT
See Also:
Constant Field Values

MODIFIER_CONTROL

public static final int MODIFIER_CONTROL
See Also:
Constant Field Values

MODIFIER_ALT

public static final int MODIFIER_ALT
See Also:
Constant Field Values

MODIFIER_ALT_GRAPH

public static final int MODIFIER_ALT_GRAPH
See Also:
Constant Field Values

MODIFIER_LEFT_META

public static final int MODIFIER_LEFT_META
See Also:
Constant Field Values

MODIFIER_RIGHT_META

public static final int MODIFIER_RIGHT_META
See Also:
Constant Field Values

ESCAPE

public static final Key ESCAPE

F1

public static final Key F1

F2

public static final Key F2

F3

public static final Key F3

F4

public static final Key F4

F5

public static final Key F5

F6

public static final Key F6

F7

public static final Key F7

F8

public static final Key F8

F9

public static final Key F9

F10

public static final Key F10

F11

public static final Key F11

F12

public static final Key F12

PRINTSCREEN

public static final Key PRINTSCREEN

PAUSE

public static final Key PAUSE

SCROLL_LOCK

public static final Key SCROLL_LOCK

CIRCUMFLEX

public static final Key CIRCUMFLEX

_0

public static final Key _0

_1

public static final Key _1

_2

public static final Key _2

_3

public static final Key _3

_4

public static final Key _4

_5

public static final Key _5

_6

public static final Key _6

_7

public static final Key _7

_8

public static final Key _8

_9

public static final Key _9

A

public static final Key A

B

public static final Key B

C

public static final Key C

D

public static final Key D

E

public static final Key E

F

public static final Key F

G

public static final Key G

H

public static final Key H

I

public static final Key I

J

public static final Key J

K

public static final Key K

L

public static final Key L

M

public static final Key M

N

public static final Key N

O

public static final Key O

P

public static final Key P

Q

public static final Key Q

R

public static final Key R

S

public static final Key S

T

public static final Key T

U

public static final Key U

V

public static final Key V

W

public static final Key W

X

public static final Key X

Y

public static final Key Y

Z

public static final Key Z

TAB

public static final Key TAB

SPACE

public static final Key SPACE

BACK_SPACE

public static final Key BACK_SPACE

ENTER

public static final Key ENTER

LEFT_SHIFT

public static final Key LEFT_SHIFT

RIGHT_SHIFT

public static final Key RIGHT_SHIFT

LEFT_CONTROL

public static final Key LEFT_CONTROL

RIGHT_CONTROL

public static final Key RIGHT_CONTROL

ALT

public static final Key ALT

ALT_GRAPH

public static final Key ALT_GRAPH

LEFT_META

public static final Key LEFT_META

RIGHT_META

public static final Key RIGHT_META

CAPS_LOCK

public static final Key CAPS_LOCK

DELETE

public static final Key DELETE

INSERT

public static final Key INSERT

END

public static final Key END

HOME

public static final Key HOME

PAGE_UP

public static final Key PAGE_UP

PAGE_DOWN

public static final Key PAGE_DOWN

RIGHT

public static final Key RIGHT

LEFT

public static final Key LEFT

UP

public static final Key UP

DOWN

public static final Key DOWN

NUM_LOCK

public static final Key NUM_LOCK

NUMPAD_DIVIDE

public static final Key NUMPAD_DIVIDE

NUMPAD_MULTIPLY

public static final Key NUMPAD_MULTIPLY

NUMPAD_SUBTRACT

public static final Key NUMPAD_SUBTRACT

NUMPAD_ADD

public static final Key NUMPAD_ADD

NUMPAD_ENTER

public static final Key NUMPAD_ENTER

NUMPAD_DECIMAL

public static final Key NUMPAD_DECIMAL

NUMPAD0

public static final Key NUMPAD0

NUMPAD1

public static final Key NUMPAD1

NUMPAD2

public static final Key NUMPAD2

NUMPAD3

public static final Key NUMPAD3

NUMPAD4

public static final Key NUMPAD4

NUMPAD5

public static final Key NUMPAD5

NUMPAD6

public static final Key NUMPAD6

NUMPAD7

public static final Key NUMPAD7

NUMPAD8

public static final Key NUMPAD8

NUMPAD9

public static final Key NUMPAD9

LOCAL_KEY1

public static final Key LOCAL_KEY1
Localized key:
two keys left to the back-space


LOCAL_KEY2

public static final Key LOCAL_KEY2
Localized key:
one key left to the back-space


LOCAL_KEY3

public static final Key LOCAL_KEY3
Localized key:
one key right to P


LOCAL_KEY4

public static final Key LOCAL_KEY4
Localized key:
two key right to P


LOCAL_KEY5

public static final Key LOCAL_KEY5
Localized key:
one key right to L


LOCAL_KEY6

public static final Key LOCAL_KEY6
Localized key:
two keys right to L


LOCAL_KEY7

public static final Key LOCAL_KEY7
Localized key:
three keys right to L


LOCAL_KEY8

public static final Key LOCAL_KEY8
Localized key:
one key right to M


LOCAL_KEY9

public static final Key LOCAL_KEY9
Localized key:
two keys right to M


LOCAL_KEY10

public static final Key LOCAL_KEY10
Localized key:
three keys right to M


LOCAL_KEY11

public static final Key LOCAL_KEY11
Localized key:
two keys left to the X

Constructor Detail

Keys

public Keys()
Method Detail

getNumKeys

public static final int getNumKeys()
Returns:
the number of registered Keys.