public enum Key extends Enum<Key>
| Enum Constant and Description |
|---|
A |
ADD |
APOSTROPHE |
APPS |
AT |
AX |
B |
BACK |
BACKSLASH |
C |
CAPITAL |
CIRCUMFLEX |
COLON |
COMMA |
CONVERT |
D |
DECIMAL |
DELETE |
DIVIDE |
DOWN |
E |
END |
EQUALS |
ESCAPE |
F |
F1 |
F10 |
F11 |
F12 |
F13 |
F14 |
F15 |
F2 |
F3 |
F4 |
F5 |
F6 |
F7 |
F8 |
F9 |
G |
GRAVE |
H |
HOME |
I |
INSERT |
J |
K |
KANA |
KANJI |
L |
LALT |
LBRACKET |
LCONTROL |
LEFT |
LMENU |
LMETA |
LSHIFT |
LWIN |
M |
MINUS |
MULTIPLY |
N |
N_0 |
N_1 |
N_2 |
N_3 |
N_4 |
N_5 |
N_6 |
N_7 |
N_8 |
N_9 |
NEXT |
NOCONVERT |
NONE |
NUMLOCK |
NUMPAD0 |
NUMPAD1 |
NUMPAD2 |
NUMPAD3 |
NUMPAD4 |
NUMPAD5 |
NUMPAD6 |
NUMPAD7 |
NUMPAD8 |
NUMPAD9 |
NUMPADCOMMA |
NUMPADENTER |
NUMPADEQUALS |
O |
P |
PAUSE |
PERIOD |
POWER |
PRIOR |
Q |
R |
RALT |
RBRACKET |
RCONTROL |
RETURN |
RIGHT |
RMENU |
RMETA |
RSHIFT |
RWIN |
S |
SCROLL |
SEMICOLON |
SLASH |
SLEEP |
SPACE |
STOP |
SUBTRACT |
SYSRQ |
T |
TAB |
U |
UNDERLINE |
UNLABELED |
UP |
V |
W |
X |
Y |
YEN |
Z |
| Modifier and Type | Method and Description |
|---|---|
static Key |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Key[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Key NONE
public static final Key ESCAPE
public static final Key N_1
public static final Key N_2
public static final Key N_3
public static final Key N_4
public static final Key N_5
public static final Key N_6
public static final Key N_7
public static final Key N_8
public static final Key N_9
public static final Key N_0
public static final Key MINUS
public static final Key EQUALS
public static final Key BACK
public static final Key TAB
public static final Key Q
public static final Key W
public static final Key E
public static final Key R
public static final Key T
public static final Key Y
public static final Key U
public static final Key I
public static final Key O
public static final Key P
public static final Key LBRACKET
public static final Key RBRACKET
public static final Key RETURN
public static final Key LCONTROL
public static final Key A
public static final Key S
public static final Key D
public static final Key F
public static final Key G
public static final Key H
public static final Key J
public static final Key K
public static final Key L
public static final Key SEMICOLON
public static final Key APOSTROPHE
public static final Key GRAVE
public static final Key LSHIFT
public static final Key BACKSLASH
public static final Key Z
public static final Key X
public static final Key C
public static final Key V
public static final Key B
public static final Key N
public static final Key M
public static final Key COMMA
public static final Key PERIOD
public static final Key SLASH
public static final Key RSHIFT
public static final Key MULTIPLY
public static final Key LMENU
public static final Key LALT
public static final Key SPACE
public static final Key CAPITAL
public static final Key F1
public static final Key F2
public static final Key F3
public static final Key F4
public static final Key F5
public static final Key F6
public static final Key F7
public static final Key F8
public static final Key F9
public static final Key F10
public static final Key NUMLOCK
public static final Key SCROLL
public static final Key NUMPAD7
public static final Key NUMPAD8
public static final Key NUMPAD9
public static final Key SUBTRACT
public static final Key NUMPAD4
public static final Key NUMPAD5
public static final Key NUMPAD6
public static final Key ADD
public static final Key NUMPAD1
public static final Key NUMPAD2
public static final Key NUMPAD3
public static final Key NUMPAD0
public static final Key DECIMAL
public static final Key F11
public static final Key F12
public static final Key F13
public static final Key F14
public static final Key F15
public static final Key KANA
public static final Key CONVERT
public static final Key NOCONVERT
public static final Key YEN
public static final Key NUMPADEQUALS
public static final Key CIRCUMFLEX
public static final Key AT
public static final Key COLON
public static final Key UNDERLINE
public static final Key KANJI
public static final Key STOP
public static final Key AX
public static final Key UNLABELED
public static final Key NUMPADENTER
public static final Key RCONTROL
public static final Key NUMPADCOMMA
public static final Key DIVIDE
public static final Key SYSRQ
public static final Key RMENU
public static final Key RALT
public static final Key PAUSE
public static final Key HOME
public static final Key UP
public static final Key PRIOR
public static final Key LEFT
public static final Key RIGHT
public static final Key END
public static final Key DOWN
public static final Key NEXT
public static final Key INSERT
public static final Key DELETE
public static final Key LMETA
public static final Key LWIN
public static final Key RMETA
public static final Key RWIN
public static final Key APPS
public static final Key POWER
public static final Key SLEEP
public static Key[] values()
for (Key c : Key.values()) System.out.println(c);
public static 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 nullCopyright © 2014. All rights reserved.