public static enum Keyboard.Key extends Enum<Keyboard.Key>
UNKNOWN
.Enum Constant and Description |
---|
A
The
A key. |
ADD
The
+ (addition) key on the numeric keypad. |
B
The
B key. |
BACKSLASH
The
\ key. |
BACKSPACE
The Backspace key.
|
C
The
C key. |
COMMA
The
, key. |
D
The
D key. |
DASH
The
- key. |
DELETE
The Delete key.
|
DIVIDE
The
/ (division) key on the numeric keypad. |
DOWN
The down arrow key.
|
E
The
E key. |
END
The End key.
|
EQUAL
The
= key. |
ESCAPE
The escape key.
|
F
The
F key. |
F1
The
F1 key. |
F10
The
F10 key. |
F11
The
F11 key. |
F12
The
F12 key. |
F13
The
F13 key, where available. |
F14
The
F14 key, where available. |
F15
The
F15 key, where available. |
F2
The
F2 key. |
F3
The
F3 key. |
F4
The
F4 key. |
F5
The
F5 key. |
F6
The
F6 key. |
F7
The
F7 key. |
F8
The
F8 key. |
F9
The
F9 key. |
G
The
G key. |
H
The
H key. |
HOME
The Home key.
|
I
The
I key. |
INSERT
The Insert key.
|
J
The
J key. |
K
The
K key. |
L
The
L key. |
LALT
The left Alt key.
|
LBRACKET
The
[ key. |
LCONTROL
The left Ctrl key.
|
LEFT
The left arrow key.
|
LSHIFT
The left Shift key.
|
LSYSTEM
The left system key.
|
M
The
M key. |
MENU
The menu key.
|
MULTIPLY
The
* (multiplication) key on the numeric keypad. |
N
The
N key. |
NUM0
The
0 key. |
NUM1
The
1 key. |
NUM2
The
2 key. |
NUM3
The
3 key. |
NUM4
The
4 key. |
NUM5
The
5 key. |
NUM6
The
6 key. |
NUM7
The
7 key. |
NUM8
The
8 key. |
NUM9
The
9 key. |
NUMPAD0
The
0 key on the numeric keypad. |
NUMPAD1
The
1 key on the numeric keypad. |
NUMPAD2
The
2 key on the numeric keypad. |
NUMPAD3
The
3 key on the numeric keypad. |
NUMPAD4
The
4 key on the numeric keypad. |
NUMPAD5
The
5 key on the numeric keypad. |
NUMPAD6
The
6 key on the numeric keypad. |
NUMPAD7
The
7 key on the numeric keypad. |
NUMPAD8
The
8 key on the numeric keypad. |
NUMPAD9
The
9 key on the numeric keypad. |
O
The
O key. |
P
The
P key. |
PAGEDOWN
The Page down key.
|
PAGEUP
The Page up key.
|
PAUSE
The Pause key.
|
PERIOD
. key. |
Q
The
Q key. |
QUOTE
The
' key. |
R
The
R key. |
RALT
The right Alt key.
|
RBRACKET
The
] key. |
RCONTROL
The right Ctrl key.
|
RETURN
The Return key or the Enter key on the numeric keypad.
|
RIGHT
The right arrow key.
|
RSHIFT
The right Shift key.
|
RSYSTEM
The right system key.
|
S
The
S key. |
SEMICOLON
The
; key. |
SLASH
The
/ key. |
SPACE
The Space key.
|
SUBTRACT
The
- (subtraction) key on the numeric keypad. |
T
The
T key. |
TAB
The Tab key.
|
TILDE
The
~ key. |
U
The
U key. |
UNKNOWN
A keyboard specific key which maps to an unknown scan code.
|
UP
The up arrow key.
|
V
The
V key. |
W
The
W key. |
X
The
X key. |
Y
The
Y key. |
Z
The
Z key. |
Modifier and Type | Method and Description |
---|---|
static Keyboard.Key |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Keyboard.Key[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Keyboard.Key UNKNOWN
public static final Keyboard.Key A
A
key.public static final Keyboard.Key B
B
key.public static final Keyboard.Key C
C
key.public static final Keyboard.Key D
D
key.public static final Keyboard.Key E
E
key.public static final Keyboard.Key F
F
key.public static final Keyboard.Key G
G
key.public static final Keyboard.Key H
H
key.public static final Keyboard.Key I
I
key.public static final Keyboard.Key J
J
key.public static final Keyboard.Key K
K
key.public static final Keyboard.Key L
L
key.public static final Keyboard.Key M
M
key.public static final Keyboard.Key N
N
key.public static final Keyboard.Key O
O
key.public static final Keyboard.Key P
P
key.public static final Keyboard.Key Q
Q
key.public static final Keyboard.Key R
R
key.public static final Keyboard.Key S
S
key.public static final Keyboard.Key T
T
key.public static final Keyboard.Key U
U
key.public static final Keyboard.Key V
V
key.public static final Keyboard.Key W
W
key.public static final Keyboard.Key X
X
key.public static final Keyboard.Key Y
Y
key.public static final Keyboard.Key Z
Z
key.public static final Keyboard.Key NUM0
public static final Keyboard.Key NUM1
public static final Keyboard.Key NUM2
public static final Keyboard.Key NUM3
public static final Keyboard.Key NUM4
public static final Keyboard.Key NUM5
public static final Keyboard.Key NUM6
public static final Keyboard.Key NUM7
public static final Keyboard.Key NUM8
public static final Keyboard.Key NUM9
public static final Keyboard.Key ESCAPE
public static final Keyboard.Key LCONTROL
public static final Keyboard.Key LSHIFT
public static final Keyboard.Key LALT
public static final Keyboard.Key LSYSTEM
public static final Keyboard.Key RCONTROL
public static final Keyboard.Key RSHIFT
public static final Keyboard.Key RALT
public static final Keyboard.Key RSYSTEM
public static final Keyboard.Key MENU
public static final Keyboard.Key LBRACKET
[
key.public static final Keyboard.Key RBRACKET
]
key.public static final Keyboard.Key SEMICOLON
;
key.public static final Keyboard.Key COMMA
,
key.public static final Keyboard.Key PERIOD
.
key.public static final Keyboard.Key QUOTE
'
key.public static final Keyboard.Key SLASH
/
key.public static final Keyboard.Key BACKSLASH
\
key.public static final Keyboard.Key TILDE
~
key.public static final Keyboard.Key EQUAL
=
key.public static final Keyboard.Key DASH
-
key.public static final Keyboard.Key SPACE
public static final Keyboard.Key RETURN
public static final Keyboard.Key BACKSPACE
public static final Keyboard.Key TAB
public static final Keyboard.Key PAGEUP
public static final Keyboard.Key PAGEDOWN
public static final Keyboard.Key END
public static final Keyboard.Key HOME
public static final Keyboard.Key INSERT
public static final Keyboard.Key DELETE
public static final Keyboard.Key ADD
+
(addition) key on the numeric keypad.public static final Keyboard.Key SUBTRACT
-
(subtraction) key on the numeric keypad.public static final Keyboard.Key MULTIPLY
*
(multiplication) key on the numeric keypad.public static final Keyboard.Key DIVIDE
/
(division) key on the numeric keypad.public static final Keyboard.Key LEFT
public static final Keyboard.Key RIGHT
public static final Keyboard.Key UP
public static final Keyboard.Key DOWN
public static final Keyboard.Key NUMPAD0
public static final Keyboard.Key NUMPAD1
public static final Keyboard.Key NUMPAD2
public static final Keyboard.Key NUMPAD3
public static final Keyboard.Key NUMPAD4
public static final Keyboard.Key NUMPAD5
public static final Keyboard.Key NUMPAD6
public static final Keyboard.Key NUMPAD7
public static final Keyboard.Key NUMPAD8
public static final Keyboard.Key NUMPAD9
public static final Keyboard.Key F1
F1
key.public static final Keyboard.Key F2
F2
key.public static final Keyboard.Key F3
F3
key.public static final Keyboard.Key F4
F4
key.public static final Keyboard.Key F5
F5
key.public static final Keyboard.Key F6
F6
key.public static final Keyboard.Key F7
F7
key.public static final Keyboard.Key F8
F8
key.public static final Keyboard.Key F9
F9
key.public static final Keyboard.Key F10
F10
key.public static final Keyboard.Key F11
F11
key.public static final Keyboard.Key F12
F12
key.public static final Keyboard.Key F13
F13
key, where available.public static final Keyboard.Key F14
F14
key, where available.public static final Keyboard.Key F15
F15
key, where available.public static final Keyboard.Key PAUSE
public static Keyboard.Key[] values()
for (Keyboard.Key c : Keyboard.Key.values()) System.out.println(c);
public static Keyboard.Key valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is null