|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Key>
eu.webtoolkit.jwt.Key
public enum Key
Enumeration for key codes.
These are key codes that identify a key on a keyboard. All keys listed here
can be identified across all browsers and (Western) keyboards. A Key is
returned by WKeyEvent#getKey(). If you want to
identify a character, you should use the WKeyEvent#getCharCode() method instead.
WInteractWidget.keyWentDown(),
WInteractWidget.keyWentUp()| Enum Constant Summary | |
|---|---|
Key_A
'A' key |
|
Key_Alt
Alt key. |
|
Key_B
'B' key |
|
Key_Backspace
Backspace key. |
|
Key_C
'C' key |
|
Key_Control
Control key. |
|
Key_D
'D' key |
|
Key_Delete
Delete key. |
|
Key_Down
Down arrow key. |
|
Key_E
'E' key |
|
Key_End
End key. |
|
Key_Enter
Enter key. |
|
Key_Escape
Escape key. |
|
Key_F
'F' key |
|
Key_F1
F1 function key. |
|
Key_F10
F10 function key. |
|
Key_F11
F11 function key. |
|
Key_F12
F12 function key. |
|
Key_F2
F2 function key. |
|
Key_F3
F3 function key. |
|
Key_F4
F4 function key. |
|
Key_F5
F5 function key. |
|
Key_F6
F6 function key. |
|
Key_F7
F7 function key. |
|
Key_F8
F8 function key. |
|
Key_F9
F9 function key. |
|
Key_G
'G' key |
|
Key_H
'H' key |
|
Key_Home
Home key. |
|
Key_I
'I' key |
|
Key_Insert
Insert key. |
|
Key_J
'J' key |
|
Key_K
'K' key |
|
Key_L
'L' key |
|
Key_Left
Left arrow key. |
|
Key_M
'M' key |
|
Key_N
'N' key |
|
Key_O
'O' key |
|
Key_P
'P' key |
|
Key_PageDown
Page down key. |
|
Key_PageUp
Page up key. |
|
Key_Q
'Q' key |
|
Key_R
'R' key |
|
Key_Right
Right arrow key. |
|
Key_S
'S' key |
|
Key_Shift
Shift key. |
|
Key_Space
Space. |
|
Key_T
'T' key |
|
Key_Tab
Tab key. |
|
Key_U
'U' key |
|
Key_unknown
Unknown key. |
|
Key_Up
Up arrow key. |
|
Key_V
'V' key |
|
Key_W
'W' key |
|
Key_X
'X' key |
|
Key_Y
'Y' key |
|
Key_Z
'Z' key |
|
| Method Summary | |
|---|---|
int |
getValue()
Returns the numerical representation of this enum. |
static Key |
valueOf(java.lang.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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Key Key_unknown
public static final Key Key_Enter
public static final Key Key_Tab
public static final Key Key_Backspace
public static final Key Key_Shift
public static final Key Key_Control
public static final Key Key_Alt
public static final Key Key_PageUp
public static final Key Key_PageDown
public static final Key Key_End
public static final Key Key_Home
public static final Key Key_Left
public static final Key Key_Up
public static final Key Key_Right
public static final Key Key_Down
public static final Key Key_Insert
public static final Key Key_Delete
public static final Key Key_Escape
public static final Key Key_F1
public static final Key Key_F2
public static final Key Key_F3
public static final Key Key_F4
public static final Key Key_F5
public static final Key Key_F6
public static final Key Key_F7
public static final Key Key_F8
public static final Key Key_F9
public static final Key Key_F10
public static final Key Key_F11
public static final Key Key_F12
public static final Key Key_Space
public static final Key Key_A
public static final Key Key_B
public static final Key Key_C
public static final Key Key_D
public static final Key Key_E
public static final Key Key_F
public static final Key Key_G
public static final Key Key_H
public static final Key Key_I
public static final Key Key_J
public static final Key Key_K
public static final Key Key_L
public static final Key Key_M
public static final Key Key_N
public static final Key Key_O
public static final Key Key_P
public static final Key Key_Q
public static final Key Key_R
public static final Key Key_S
public static final Key Key_T
public static final Key Key_U
public static final Key Key_V
public static final Key Key_W
public static final Key Key_X
public static final Key Key_Y
public static final Key Key_Z
| Method Detail |
|---|
public static Key[] values()
for (Key c : Key.values()) System.out.println(c);
public static Key valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic int getValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||