1 11 package org.eclipse.jface.bindings.keys; 12 13 21 public interface IKeyLookup { 22 25 public static final String ALT_NAME = "ALT"; 27 30 public static final String ARROW_DOWN_NAME = "ARROW_DOWN"; 32 35 public static final String ARROW_LEFT_NAME = "ARROW_LEFT"; 37 40 public static final String ARROW_RIGHT_NAME = "ARROW_RIGHT"; 42 45 public static final String ARROW_UP_NAME = "ARROW_UP"; 47 50 public static final String BACKSPACE_NAME = "BACKSPACE"; 52 55 public static final String BREAK_NAME = "BREAK"; 57 60 public static final String BS_NAME = "BS"; 62 65 public static final String CAPS_LOCK_NAME = "CAPS_LOCK"; 67 70 public static final String COMMAND_NAME = "COMMAND"; 72 75 public static final String CR_NAME = "CR"; 77 80 public static final String CTRL_NAME = "CTRL"; 82 85 public static final String DEL_NAME = "DEL"; 87 90 public static final String DELETE_NAME = "DELETE"; 92 95 public static final String END_NAME = "END"; 97 100 public static final String ENTER_NAME = "ENTER"; 102 105 public static final String ESC_NAME = "ESC"; 107 110 public static final String ESCAPE_NAME = "ESCAPE"; 112 115 public static final String F1_NAME = "F1"; 117 120 public static final String F10_NAME = "F10"; 122 125 public static final String F11_NAME = "F11"; 127 130 public static final String F12_NAME = "F12"; 132 135 public static final String F13_NAME = "F13"; 137 140 public static final String F14_NAME = "F14"; 142 145 public static final String F15_NAME = "F15"; 147 150 public static final String F2_NAME = "F2"; 152 155 public static final String F3_NAME = "F3"; 157 160 public static final String F4_NAME = "F4"; 162 165 public static final String F5_NAME = "F5"; 167 170 public static final String F6_NAME = "F6"; 172 175 public static final String F7_NAME = "F7"; 177 180 public static final String F8_NAME = "F8"; 182 185 public static final String F9_NAME = "F9"; 187 190 public static final String FF_NAME = "FF"; 192 195 public static final String HOME_NAME = "HOME"; 197 200 public static final String INSERT_NAME = "INSERT"; 202 205 public static final String LF_NAME = "LF"; 207 210 public static final String M1_NAME = "M1"; 212 215 public static final String M2_NAME = "M2"; 217 220 public static final String M3_NAME = "M3"; 222 225 public static final String M4_NAME = "M4"; 227 230 public static final String NUL_NAME = "NUL"; 232 235 public static final String NUM_LOCK_NAME = "NUM_LOCK"; 237 240 public static final String NUMPAD_0_NAME = "NUMPAD_0"; 242 245 public static final String NUMPAD_1_NAME = "NUMPAD_1"; 247 250 public static final String NUMPAD_2_NAME = "NUMPAD_2"; 252 255 public static final String NUMPAD_3_NAME = "NUMPAD_3"; 257 260 public static final String NUMPAD_4_NAME = "NUMPAD_4"; 262 265 public static final String NUMPAD_5_NAME = "NUMPAD_5"; 267 270 public static final String NUMPAD_6_NAME = "NUMPAD_6"; 272 275 public static final String NUMPAD_7_NAME = "NUMPAD_7"; 277 280 public static final String NUMPAD_8_NAME = "NUMPAD_8"; 282 285 public static final String NUMPAD_9_NAME = "NUMPAD_9"; 287 290 public static final String NUMPAD_ADD_NAME = "NUMPAD_ADD"; 292 295 public static final String NUMPAD_DECIMAL_NAME = "NUMPAD_DECIMAL"; 297 300 public static final String NUMPAD_DIVIDE_NAME = "NUMPAD_DIVIDE"; 302 305 public static final String NUMPAD_ENTER_NAME = "NUMPAD_ENTER"; 307 310 public static final String NUMPAD_EQUAL_NAME = "NUMPAD_EQUAL"; 312 315 public static final String NUMPAD_MULTIPLY_NAME = "NUMPAD_MULTIPLY"; 317 320 public static final String NUMPAD_SUBTRACT_NAME = "NUMPAD_SUBTRACT"; 322 325 public static final String PAGE_DOWN_NAME = "PAGE_DOWN"; 327 330 public static final String PAGE_UP_NAME = "PAGE_UP"; 332 335 public static final String PAUSE_NAME = "PAUSE"; 337 340 public static final String PRINT_SCREEN_NAME = "PRINT_SCREEN"; 342 345 public static final String RETURN_NAME = "RETURN"; 347 350 public static final String SCROLL_LOCK_NAME = "SCROLL_LOCK"; 352 355 public static final String SHIFT_NAME = "SHIFT"; 357 360 public static final String SPACE_NAME = "SPACE"; 362 365 public static final String TAB_NAME = "TAB"; 367 370 public static final String VT_NAME = "VT"; 372 382 public int formalKeyLookup(String name); 383 384 394 public Integer formalKeyLookupInteger(String name); 395 396 406 public int formalModifierLookup(String name); 407 408 418 public String formalNameLookup(int key); 419 420 425 public int getAlt(); 426 427 432 public int getCommand(); 433 434 439 public int getCtrl(); 440 441 446 public int getShift(); 447 448 456 public boolean isModifierKey(int key); 457 } 458 | Popular Tags |