Package com.jbstrap.ui
Class Key
java.lang.Object
com.jbstrap.ui.Key
Key constants
- Since:
- 4.0
- Author:
- JBStrap
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
fromHotKeyString
(String str) Gets the key code of the specified key stringstatic String
getHotKey
(int keyCode) Gets the string form of a hot key
-
Field Details
-
ALT
public static final int ALT- See Also:
-
CTRL
public static final int CTRL- See Also:
-
SHIFT
public static final int SHIFT- See Also:
-
ESC
public static final int ESC- See Also:
-
TAB
public static final int TAB- See Also:
-
SPACE
public static final int SPACE- See Also:
-
ENTER
public static final int ENTER- See Also:
-
BACKSPACE
public static final int BACKSPACE- See Also:
-
PAUSE
public static final int PAUSE- See Also:
-
INSERT
public static final int INSERT- See Also:
-
HOME
public static final int HOME- See Also:
-
DELETE
public static final int DELETE- See Also:
-
END
public static final int END- See Also:
-
PAGE_UP
public static final int PAGE_UP- See Also:
-
PAGE_DOWN
public static final int PAGE_DOWN- See Also:
-
LEFT
public static final int LEFT- See Also:
-
RIGHT
public static final int RIGHT- See Also:
-
UP
public static final int UP- See Also:
-
DOWN
public static final int DOWN- See Also:
-
F1
public static final int F1- See Also:
-
F2
public static final int F2- See Also:
-
F3
public static final int F3- See Also:
-
F4
public static final int F4- See Also:
-
F5
public static final int F5- See Also:
-
F6
public static final int F6- See Also:
-
F7
public static final int F7- See Also:
-
F8
public static final int F8- See Also:
-
F9
public static final int F9- See Also:
-
F10
public static final int F10- See Also:
-
F11
public static final int F11- See Also:
-
F12
public static final int F12- See Also:
-
CAPSLOCK
public static final int CAPSLOCK- See Also:
-
NUMLOCK
public static final int NUMLOCK- See Also:
-
SCROLL
public static final int SCROLL- See Also:
-
KEY_0
public static final int KEY_0- See Also:
-
KEY_1
public static final int KEY_1- See Also:
-
KEY_2
public static final int KEY_2- See Also:
-
KEY_3
public static final int KEY_3- See Also:
-
KEY_4
public static final int KEY_4- See Also:
-
KEY_5
public static final int KEY_5- See Also:
-
KEY_6
public static final int KEY_6- See Also:
-
KEY_7
public static final int KEY_7- See Also:
-
KEY_8
public static final int KEY_8- See Also:
-
KEY_9
public static final int KEY_9- See Also:
-
KEY_A
public static final int KEY_A- See Also:
-
KEY_B
public static final int KEY_B- See Also:
-
KEY_C
public static final int KEY_C- See Also:
-
KEY_D
public static final int KEY_D- See Also:
-
KEY_E
public static final int KEY_E- See Also:
-
KEY_F
public static final int KEY_F- See Also:
-
KEY_G
public static final int KEY_G- See Also:
-
KEY_H
public static final int KEY_H- See Also:
-
KEY_I
public static final int KEY_I- See Also:
-
KEY_J
public static final int KEY_J- See Also:
-
KEY_K
public static final int KEY_K- See Also:
-
KEY_L
public static final int KEY_L- See Also:
-
KEY_M
public static final int KEY_M- See Also:
-
KEY_N
public static final int KEY_N- See Also:
-
KEY_O
public static final int KEY_O- See Also:
-
KEY_P
public static final int KEY_P- See Also:
-
KEY_Q
public static final int KEY_Q- See Also:
-
KEY_R
public static final int KEY_R- See Also:
-
KEY_S
public static final int KEY_S- See Also:
-
KEY_T
public static final int KEY_T- See Also:
-
KEY_U
public static final int KEY_U- See Also:
-
KEY_V
public static final int KEY_V- See Also:
-
KEY_W
public static final int KEY_W- See Also:
-
KEY_X
public static final int KEY_X- See Also:
-
KEY_Y
public static final int KEY_Y- See Also:
-
KEY_Z
public static final int KEY_Z- See Also:
-
-
Method Details
-
getHotKey
Gets the string form of a hot key- Parameters:
keyCode
- The key, or key combination code- Returns:
- The string form of the specified key
-
fromHotKeyString
Gets the key code of the specified key string- Parameters:
str
- The string form- Returns:
- The key code or
null
, if the specified string is empty ornull
.
-