1 53 54 package org.swixml.converters; 55 56 62 63 public interface KeyEvent { 64 67 int KEY_FIRST = 400; 68 71 int KEY_LAST = 402; 72 79 int KEY_TYPED = KEY_FIRST; 80 84 int KEY_PRESSED = 1 + KEY_FIRST; 89 int KEY_RELEASED = 2 + KEY_FIRST; int VK_ENTER = '\n'; 91 int VK_BACK_SPACE = '\b'; 92 int VK_TAB = '\t'; 93 int VK_CANCEL = 0x03; 94 int VK_CLEAR = 0x0C; 95 int VK_SHIFT = 0x10; 96 int VK_CONTROL = 0x11; 97 int VK_ALT = 0x12; 98 int VK_PAUSE = 0x13; 99 int VK_CAPS_LOCK = 0x14; 100 int VK_ESCAPE = 0x1B; 101 int VK_SPACE = 0x20; 102 int VK_PAGE_UP = 0x21; 103 int VK_PAGE_DOWN = 0x22; 104 int VK_END = 0x23; 105 int VK_HOME = 0x24; 106 110 int VK_LEFT = 0x25; 111 115 int VK_UP = 0x26; 116 120 int VK_RIGHT = 0x27; 121 125 int VK_DOWN = 0x28; 126 int VK_COMMA = 0x2C; 127 131 int VK_MINUS = 0x2D; 132 int VK_PERIOD = 0x2E; 133 int VK_SLASH = 0x2F; 134 135 int VK_0 = 0x30; 136 int VK_1 = 0x31; 137 int VK_2 = 0x32; 138 int VK_3 = 0x33; 139 int VK_4 = 0x34; 140 int VK_5 = 0x35; 141 int VK_6 = 0x36; 142 int VK_7 = 0x37; 143 int VK_8 = 0x38; 144 int VK_9 = 0x39; 145 int VK_SEMICOLON = 0x3B; 146 int VK_EQUALS = 0x3D; 147 148 int VK_A = 0x41; 149 int VK_B = 0x42; 150 int VK_C = 0x43; 151 int VK_D = 0x44; 152 int VK_E = 0x45; 153 int VK_F = 0x46; 154 int VK_G = 0x47; 155 int VK_H = 0x48; 156 int VK_I = 0x49; 157 int VK_J = 0x4A; 158 int VK_K = 0x4B; 159 int VK_L = 0x4C; 160 int VK_M = 0x4D; 161 int VK_N = 0x4E; 162 int VK_O = 0x4F; 163 int VK_P = 0x50; 164 int VK_Q = 0x51; 165 int VK_R = 0x52; 166 int VK_S = 0x53; 167 int VK_T = 0x54; 168 int VK_U = 0x55; 169 int VK_V = 0x56; 170 int VK_W = 0x57; 171 int VK_X = 0x58; 172 int VK_Y = 0x59; 173 int VK_Z = 0x5A; 174 int VK_OPEN_BRACKET = 0x5B; 175 int VK_BACK_SLASH = 0x5C; 176 int VK_CLOSE_BRACKET = 0x5D; 177 int VK_NUMPAD0 = 0x60; 178 int VK_NUMPAD1 = 0x61; 179 int VK_NUMPAD2 = 0x62; 180 int VK_NUMPAD3 = 0x63; 181 int VK_NUMPAD4 = 0x64; 182 int VK_NUMPAD5 = 0x65; 183 int VK_NUMPAD6 = 0x66; 184 int VK_NUMPAD7 = 0x67; 185 int VK_NUMPAD8 = 0x68; 186 int VK_NUMPAD9 = 0x69; 187 int VK_MULTIPLY = 0x6A; 188 int VK_ADD = 0x6B; 189 192 int VK_SEPARATER = 0x6C; 193 197 int VK_SEPARATOR = VK_SEPARATER; 198 int VK_SUBTRACT = 0x6D; 199 int VK_DECIMAL = 0x6E; 200 int VK_DIVIDE = 0x6F; 201 int VK_DELETE = 0x7F; 202 int VK_NUM_LOCK = 0x90; 203 int VK_SCROLL_LOCK = 0x91; 204 205 int VK_F1 = 0x70; 206 207 int VK_F2 = 0x71; 208 209 int VK_F3 = 0x72; 210 211 int VK_F4 = 0x73; 212 213 int VK_F5 = 0x74; 214 215 int VK_F6 = 0x75; 216 217 int VK_F7 = 0x76; 218 219 int VK_F8 = 0x77; 220 221 int VK_F9 = 0x78; 222 223 int VK_F10 = 0x79; 224 225 int VK_F11 = 0x7A; 226 227 int VK_F12 = 0x7B; 228 229 int VK_F13 = 0xF000; 230 234 int VK_F14 = 0xF001; 235 239 int VK_F15 = 0xF002; 240 244 int VK_F16 = 0xF003; 245 249 int VK_F17 = 0xF004; 250 254 int VK_F18 = 0xF005; 255 259 int VK_F19 = 0xF006; 260 264 int VK_F20 = 0xF007; 265 269 int VK_F21 = 0xF008; 270 274 int VK_F22 = 0xF009; 275 279 int VK_F23 = 0xF00A; 280 284 int VK_F24 = 0xF00B; 285 int VK_PRINTSCREEN = 0x9A; 286 int VK_INSERT = 0x9B; 287 int VK_HELP = 0x9C; 288 int VK_META = 0x9D; 289 int VK_BACK_QUOTE = 0xC0; 290 int VK_QUOTE = 0xDE; 291 296 int VK_KP_UP = 0xE0; 297 302 int VK_KP_DOWN = 0xE1; 303 308 int VK_KP_LEFT = 0xE2; 309 314 int VK_KP_RIGHT = 0xE3; 315 316 int VK_DEAD_GRAVE = 0x80; 317 318 int VK_DEAD_ACUTE = 0x81; 319 320 int VK_DEAD_CIRCUMFLEX = 0x82; 321 322 int VK_DEAD_TILDE = 0x83; 323 324 int VK_DEAD_MACRON = 0x84; 325 326 int VK_DEAD_BREVE = 0x85; 327 328 int VK_DEAD_ABOVEDOT = 0x86; 329 330 int VK_DEAD_DIAERESIS = 0x87; 331 332 int VK_DEAD_ABOVERING = 0x88; 333 334 int VK_DEAD_DOUBLEACUTE = 0x89; 335 336 int VK_DEAD_CARON = 0x8a; 337 338 int VK_DEAD_CEDILLA = 0x8b; 339 340 int VK_DEAD_OGONEK = 0x8c; 341 342 int VK_DEAD_IOTA = 0x8d; 343 344 int VK_DEAD_VOICED_SOUND = 0x8e; 345 346 int VK_DEAD_SEMIVOICED_SOUND = 0x8f; 347 348 int VK_AMPERSAND = 0x96; 349 350 int VK_ASTERISK = 0x97; 351 352 int VK_QUOTEDBL = 0x98; 353 354 int VK_LESS = 0x99; 355 356 int VK_GREATER = 0xa0; 357 358 int VK_BRACELEFT = 0xa1; 359 360 int VK_BRACERIGHT = 0xa2; 361 365 int VK_AT = 0x0200; 366 370 int VK_COLON = 0x0201; 371 375 int VK_CIRCUMFLEX = 0x0202; 376 380 int VK_DOLLAR = 0x0203; 381 385 int VK_EURO_SIGN = 0x0204; 386 390 int VK_EXCLAMATION_MARK = 0x0205; 391 395 int VK_INVERTED_EXCLAMATION_MARK = 0x0206; 396 400 int VK_LEFT_PARENTHESIS = 0x0207; 401 405 int VK_NUMBER_SIGN = 0x0208; 406 410 int VK_PLUS = 0x0209; 411 415 int VK_RIGHT_PARENTHESIS = 0x020A; 416 420 int VK_UNDERSCORE = 0x020B; 421 422 int VK_FINAL = 0x0018; 423 424 int VK_CONVERT = 0x001C; 425 426 int VK_NONCONVERT = 0x001D; 427 428 int VK_ACCEPT = 0x001E; 429 430 int VK_MODECHANGE = 0x001F; 431 433 int VK_KANA = 0x0015; 434 436 int VK_KANJI = 0x0019; 437 438 int VK_ALPHANUMERIC = 0x00F0; 439 440 int VK_KATAKANA = 0x00F1; 441 442 int VK_HIRAGANA = 0x00F2; 443 444 int VK_FULL_WIDTH = 0x00F3; 445 446 int VK_HALF_WIDTH = 0x00F4; 447 448 int VK_ROMAN_CHARACTERS = 0x00F5; 449 450 int VK_ALL_CANDIDATES = 0x0100; 451 452 int VK_PREVIOUS_CANDIDATE = 0x0101; 453 454 int VK_CODE_INPUT = 0x0102; 455 456 int VK_JAPANESE_KATAKANA = 0x0103; 457 458 int VK_JAPANESE_HIRAGANA = 0x0104; 459 460 int VK_JAPANESE_ROMAN = 0x0105; 461 462 int VK_KANA_LOCK = 0x0106; 463 464 int VK_INPUT_METHOD_ON_OFF = 0x0107; 465 466 int VK_CUT = 0xFFD1; 467 468 int VK_COPY = 0xFFCD; 469 470 int VK_PASTE = 0xFFCF; 471 472 int VK_UNDO = 0xFFCB; 473 474 int VK_AGAIN = 0xFFC9; 475 476 int VK_FIND = 0xFFD0; 477 478 int VK_PROPS = 0xFFCA; 479 480 int VK_STOP = 0xFFC8; 481 485 int VK_COMPOSE = 0xFF20; 486 490 int VK_ALT_GRAPH = 0xFF7E; 491 496 int VK_UNDEFINED = 0x0; 497 501 char CHAR_UNDEFINED = 0xFFFF; 502 509 int KEY_LOCATION_UNKNOWN = 0; 510 518 int KEY_LOCATION_STANDARD = 1; 519 525 int KEY_LOCATION_LEFT = 2; 526 532 int KEY_LOCATION_RIGHT = 3; 533 539 int KEY_LOCATION_NUMPAD = 4; 540 } 541 | Popular Tags |