Package codedraw.events
Enum Class Key
- All Implemented Interfaces:
Serializable
,Comparable<Key>
,Constable
Represents various Keys. The number keys have the prefix N.
The numpad keys have the NUMPAD prefix.
If the key is not found or unknown the key value
UNDEFINED
will be used.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
-
Enum Constant Details
-
UNDEFINED
-
ENTER
-
BACK_SPACE
-
TAB
-
CANCEL
-
CLEAR
-
SHIFT
-
CONTROL
-
ALT
-
PAUSE
-
CAPS_LOCK
-
ESCAPE
-
SPACE
-
PAGE_UP
-
PAGE_DOWN
-
END
-
HOME
-
LEFT
-
UP
-
RIGHT
-
DOWN
-
COMMA
-
MINUS
-
PERIOD
-
SLASH
-
N0
-
N1
-
N2
-
N3
-
N4
-
N5
-
N6
-
N7
-
N8
-
N9
-
SEMICOLON
-
EQUALS
-
A
-
B
-
C
-
D
-
E
-
F
-
G
-
H
-
I
-
J
-
K
-
L
-
M
-
N
-
O
-
P
-
Q
-
R
-
S
-
T
-
U
-
V
-
W
-
X
-
Y
-
Z
-
OPEN_BRACKET
-
BACK_SLASH
-
CLOSE_BRACKET
-
NUMPAD0
-
NUMPAD1
-
NUMPAD2
-
NUMPAD3
-
NUMPAD4
-
NUMPAD5
-
NUMPAD6
-
NUMPAD7
-
NUMPAD8
-
NUMPAD9
-
MULTIPLY
-
ADD
-
SEPARATOR
-
SUBTRACT
-
DECIMAL
-
DIVIDE
-
DELETE
-
NUM_LOCK
-
SCROLL_LOCK
-
F1
-
F2
-
F3
-
F4
-
F5
-
F6
-
F7
-
F8
-
F9
-
F10
-
F11
-
F12
-
F13
-
F14
-
F15
-
F16
-
F17
-
F18
-
F19
-
F20
-
F21
-
F22
-
F23
-
F24
-
PRINT_SCREEN
-
INSERT
-
HELP
-
META
-
BACK_QUOTE
-
QUOTE
-
NUMPAD_UP
-
NUMPAD_DOWN
-
NUMPAD_LEFT
-
NUMPAD_RIGHT
-
DEAD_GRAVE
-
DEAD_ACUTE
-
DEAD_CIRCUMFLEX
-
DEAD_TILDE
-
DEAD_MACRON
-
DEAD_BREVE
-
DEAD_ABOVE_DOT
-
DEAD_DIAERESIS
-
DEAD_ABOVE_RING
-
DEAD_DOUBLE_ACUTE
-
DEAD_CARON
-
DEAD_CEDILLA
-
DEAD_OGONEK
-
DEAD_IOTA
-
DEAD_VOICED_SOUND
-
DEAD_SEMI_VOICED_SOUND
-
AMPERSAND
-
ASTERISK
-
QUOTE_DBL
-
LESS
-
GREATER
-
BRACE_LEFT
-
BRACE_RIGHT
-
AT
-
COLON
-
CIRCUMFLEX
-
DOLLAR
-
EURO_SIGN
-
EXCLAMATION_MARK
-
INVERTED_EXCLAMATION_MARK
-
LEFT_PARENTHESIS
-
NUMBER_SIGN
-
PLUS
-
RIGHT_PARENTHESIS
-
UNDERSCORE
-
WINDOWS
-
CONTEXT_MENU
-
FINAL
-
CONVERT
-
NON_CONVERT
-
ACCEPT
-
MODE_CHANGE
-
KANA
-
KANJI
-
ALPHANUMERIC
-
KATAKANA
-
HIRAGANA
-
FULL_WIDTH
-
HALF_WIDTH
-
ROMAN_CHARACTERS
-
ALL_CANDIDATES
-
PREVIOUS_CANDIDATE
-
CODE_INPUT
-
JAPANESE_KATAKANA
-
JAPANESE_HIRAGANA
-
JAPANESE_ROMAN
-
KANA_LOCK
-
INPUT_METHOD_ON_OFF
-
CUT
-
COPY
-
PASTE
-
UNDO
-
AGAIN
-
FIND
-
PROPS
-
STOP
-
COMPOSE
-
ALT_GRAPH
-
BEGIN
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-