public final class Key extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Key.Modifier
Constants class for keyboard modifiers such as Control or Shift.
|
Modifier and Type | Field and Description |
---|---|
static Key |
A |
static Key |
ADD |
static Key |
ALT |
static Key |
AMPERSAND |
static Key |
ASTERISK |
static Key |
AT |
static Key |
B |
static Key |
BACKQUOTE |
static Key |
BACKSLASH |
static Key |
BACKSPACE |
static Key |
C |
static Key |
CAPS_LOCK |
static Key |
CARAT |
static Key |
CLOSE_BRACKET |
static Key |
COLON |
static Key |
COMMA |
static Key |
CONTROL |
static Key |
D |
static Key |
d0 |
static Key |
d1 |
static Key |
d2 |
static Key |
d3 |
static Key |
d4 |
static Key |
d5 |
static Key |
d6 |
static Key |
d7 |
static Key |
d8 |
static Key |
d9 |
static Key |
DECIMAL |
static Key |
DELETE |
static Key |
DOLLAR |
static Key |
DOUBLE_QUOTE |
static Key |
DOWN |
static Key |
E |
static Key |
END |
static Key |
ENTER |
static Key |
EQUALS |
static Key |
ESCAPE |
static Key |
EXCLAMATION |
static Key |
F |
static Key |
F1 |
static Key |
F10 |
static Key |
F11 |
static Key |
F12 |
static Key |
F13 |
static Key |
F14 |
static Key |
F15 |
static Key |
F16 |
static Key |
F17 |
static Key |
F18 |
static Key |
F19 |
static Key |
F2 |
static Key |
F20 |
static Key |
F21 |
static Key |
F22 |
static Key |
F23 |
static Key |
F24 |
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 |
GREATER_THAN |
static Key |
H |
static Key |
HASH |
static Key |
I |
static Key |
INSERT |
static Key |
J |
static Key |
K |
static Key |
L |
static Key |
LEFT |
static Key |
LEFT_BRACE |
static Key |
LEFT_BRACKET |
static Key |
LEFT_PARENTHESIS |
static Key |
LESS_THAN |
static Key |
M |
static Key |
MINUS |
static Key |
N |
static Key |
NUM_DIVIDE |
static Key |
NUM_LOCK |
static Key |
NUM_MULTIPLY |
static Key |
NUM_SEPARATOR |
static Key |
NUM0 |
static Key |
NUM1 |
static Key |
NUM2 |
static Key |
NUM3 |
static Key |
NUM4 |
static Key |
NUM5 |
static Key |
NUM6 |
static Key |
NUM7 |
static Key |
NUM8 |
static Key |
NUM9 |
static Key |
O |
static Key |
OPEN_BRACKET |
static Key |
P |
static Key |
PAGE_DOWN |
static Key |
PAGE_UP |
static Key |
PERCENT |
static Key |
Q |
static Key |
QUESTION |
static Key |
QUOTE |
static Key |
R |
static Key |
RIGHT |
static Key |
RIGHT_BRACE |
static Key |
RIGHT_BRACKET |
static Key |
RIGHT_PARENTHESIS |
static Key |
S |
static Key |
SCROLL_LOCK |
static Key |
SEMICOLON |
static Key |
SHIFT |
static Key |
SLASH |
static Key |
SPACE |
static Key |
T |
static Key |
TAB |
static Key |
U |
static Key |
UNDERSCORE |
static Key |
UP |
static Key |
V |
static Key |
VERTICAL_LINE |
static Key |
W |
static Key |
X |
static Key |
Y |
static Key |
Z |
Modifier and Type | Method and Description |
---|---|
static Key |
alt(Key key) |
static Key |
control(Key key) |
static Key |
get(Character chr) |
Character |
getChar() |
int |
getCode() |
Key.Modifier |
getModifier() |
boolean |
isPrintable() |
static Key |
meta(Key key) |
static Key |
plaformSpecificCtrl(Key key)
Returns META-Key on MacOS X, and CTRL-Key on other platforms.
|
static Key |
shift(Key key) |
public static final Key A
public static final Key B
public static final Key C
public static final Key D
public static final Key E
public static final Key F
public static final Key G
public static final Key H
public static final Key I
public static final Key J
public static final Key K
public static final Key L
public static final Key M
public static final Key N
public static final Key O
public static final Key P
public static final Key Q
public static final Key R
public static final Key S
public static final Key T
public static final Key U
public static final Key V
public static final Key W
public static final Key X
public static final Key Y
public static final Key Z
public static final Key d0
public static final Key d1
public static final Key d2
public static final Key d3
public static final Key d4
public static final Key d5
public static final Key d6
public static final Key d7
public static final Key d8
public static final Key d9
public static final Key NUM0
public static final Key NUM1
public static final Key NUM2
public static final Key NUM3
public static final Key NUM4
public static final Key NUM5
public static final Key NUM6
public static final Key NUM7
public static final Key NUM8
public static final Key NUM9
public static final Key MINUS
public static final Key ADD
public static final Key NUM_DIVIDE
public static final Key NUM_MULTIPLY
public static final Key NUM_SEPARATOR
public static final Key SLASH
public static final Key BACKSLASH
public static final Key EQUALS
public static final Key ASTERISK
public static final Key DOLLAR
public static final Key LEFT_PARENTHESIS
public static final Key RIGHT_PARENTHESIS
public static final Key AT
public static final Key AMPERSAND
public static final Key QUOTE
public static final Key BACKQUOTE
public static final Key DOUBLE_QUOTE
public static final Key LEFT_BRACE
public static final Key RIGHT_BRACE
public static final Key CARAT
public static final Key OPEN_BRACKET
public static final Key LEFT_BRACKET
public static final Key CLOSE_BRACKET
public static final Key RIGHT_BRACKET
public static final Key COLON
public static final Key COMMA
public static final Key DECIMAL
public static final Key EXCLAMATION
public static final Key GREATER_THAN
public static final Key LESS_THAN
public static final Key HASH
public static final Key SEMICOLON
public static final Key SPACE
public static final Key UNDERSCORE
public static final Key QUESTION
public static final Key VERTICAL_LINE
public static final Key PERCENT
public static final Key TAB
public static final Key ENTER
public static final Key DELETE
public static final Key BACKSPACE
public static final Key UP
public static final Key DOWN
public static final Key LEFT
public static final Key RIGHT
public static final Key PAGE_DOWN
public static final Key PAGE_UP
public static final Key END
public static final Key ESCAPE
public static final Key CONTROL
public static final Key SHIFT
public static final Key ALT
public static final Key INSERT
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 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 F16
public static final Key F17
public static final Key F18
public static final Key F19
public static final Key F20
public static final Key F21
public static final Key F22
public static final Key F23
public static final Key F24
public static final Key NUM_LOCK
public static final Key SCROLL_LOCK
public static final Key CAPS_LOCK
public static Key plaformSpecificCtrl(Key key)
public int getCode()
public Character getChar()
public Key.Modifier getModifier()
public boolean isPrintable()
Copyright © 2004–2016. All rights reserved.