java.lang.Object | |
↳ | com.google.gwt.event.dom.client.KeyCodes |
Contains the native key codes previously defined in
KeyboardListener
. When converting
keyboard listener instances, developers can use the following static import
to access these constants:
import static com.google.gwt.event.dom.client.KeyCodes.*;These constants are defined with an int data type in order to be compatible with the constants defined in
KeyboardListener
.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | KEY_ALT | Alt key code. | |||||||||
int | KEY_BACKSPACE | Backspace key code. | |||||||||
int | KEY_CTRL | Control key code. | |||||||||
int | KEY_DELETE | Delete key code. | |||||||||
int | KEY_DOWN | Down arrow code. | |||||||||
int | KEY_END | End key code. | |||||||||
int | KEY_ENTER | Enter key code. | |||||||||
int | KEY_ESCAPE | Escape key code. | |||||||||
int | KEY_HOME | Home key code. | |||||||||
int | KEY_LEFT | Left key code. | |||||||||
int | KEY_PAGEDOWN | Page down key code. | |||||||||
int | KEY_PAGEUP | Page up key code. | |||||||||
int | KEY_RIGHT | Right arrow key code. | |||||||||
int | KEY_SHIFT | Shift key code. | |||||||||
int | KEY_TAB | Tab key code. | |||||||||
int | KEY_UP | Up Arrow key code. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Alt key code.
Backspace key code.
Control key code.
Delete key code.
Down arrow code.
End key code.
Enter key code.
Escape key code.
Home key code.
Left key code.
Page down key code.
Page up key code.
Right arrow key code.
Shift key code.
Tab key code.
Up Arrow key code.