Definition at line 15 of file Keyboard.java.
Public Member Functions | |
int | inputKey (int timeout) |
void | setKey (int setting) |
int | getLastKey () |
boolean | isBackSpace (int k) |
boolean | isLeftArrow (int k) |
boolean | isRightArrow (int k) |
boolean | isCtrl (int k) |
boolean | isDigit (int k) |
boolean | isLower (int k) |
boolean | isUpper (int k) |
boolean | isAlpha (int k) |
Static Public Member Functions | |
static Keyboard | getSingleton () |
Static Public Attributes | |
static final int | KEY_F12 = 276 |
F12. | |
static final int | KEY_F11 = 275 |
F11. | |
static final int | KEY_F10 = 274 |
F10. | |
static final int | KEY_F9 = 273 |
F9. | |
static final int | KEY_F8 = 272 |
F8. | |
static final int | KEY_F7 = 271 |
F7. | |
static final int | KEY_F6 = 270 |
F6. | |
static final int | KEY_F5 = 269 |
F5. | |
static final int | KEY_F4 = 268 |
F4. | |
static final int | KEY_F3 = 267 |
F3. | |
static final int | KEY_F2 = 266 |
F2. | |
static final int | KEY_F1 = 265 |
F1. | |
static final int | KEY_TAB = 9 |
TAB. | |
static final int | KEY_ESC = 27 |
ESC. | |
static final int | KEY_ENTER = 13 |
ENTER. | |
static final int | KEY_NEWMODE = 0 |
an update signal | |
static final int | KEY_HOME = 262 |
HOME. | |
static final int | KEY_DOWN = 258 |
down arrow | |
static final int | KEY_UP = 259 |
up arrow | |
static final int | KEY_RIGHT = 261 |
right arrow | |
static final int | KEY_LEFT = 260 |
left arrow | |
static final int | KEY_PGDN = 338 |
page down | |
static final int | KEY_PGUP = 339 |
page up | |
static final int | KEY_INSERT = 331 |
insert | |
static final int | KEY_DELETE = 330 |
delete | |
static final int | KEY_SPACE = 32 |
white space | |
static final int | KEY_CTRL_A = 1 |
static final int | KEY_CTRL_B = 2 |
static final int | KEY_CTRL_C = 3 |
static final int | KEY_CTRL_D = 4 |
static final int | KEY_CTRL_E = 5 |
static final int | KEY_CTRL_F = 6 |
static final int | KEY_CTRL_G = 7 |
static final int | KEY_CTRL_H = 8 |
static final int | KEY_CTRL_I = 9 |
static final int | KEY_CTRL_J = 10 |
static final int | KEY_CTRL_K = 11 |
static final int | KEY_CTRL_L = 12 |
static final int | KEY_CTRL_M = 13 |
static final int | KEY_CTRL_N = 14 |
static final int | KEY_CTRL_O = 15 |
static final int | KEY_CTRL_P = 16 |
static final int | KEY_CTRL_Q = 17 |
static final int | KEY_CTRL_R = 18 |
static final int | KEY_CTRL_S = 19 |
static final int | KEY_CTRL_T = 20 |
static final int | KEY_CTRL_U = 21 |
static final int | KEY_CTRL_V = 22 |
static final int | KEY_CTRL_W = 23 |
static final int | KEY_CTRL_X = 24 |
static final int | KEY_CTRL_Y = 25 |
static final int | KEY_CTRL_Z = 26 |
|
creates only one instance of this class
Definition at line 35 of file Keyboard.java. Referenced by pkgMcj.Mcj.Mcj(). |
|
Definition at line 129 of file Keyboard.java. |
|
Definition at line 140 of file Keyboard.java. |
|
Definition at line 151 of file Keyboard.java. |
|
Definition at line 162 of file Keyboard.java. |
|
tests key digit Definition at line 173 of file Keyboard.java. |
|
tests key Definition at line 184 of file Keyboard.java. Referenced by pkgView.Keyboard.isAlpha(). |
|
tests key Definition at line 195 of file Keyboard.java. Referenced by pkgView.Keyboard.isAlpha(). |