Home | History | Annotate | Download | only in controls

Lines Matching refs:keyCode

44     private final int keyCode;
47 * Create a new <code>KeyTrigger</code> for the given keycode.
49 * @param keyCode the code for the key, see constants in {@link KeyInput}.
51 public KeyTrigger(int keyCode){
52 this.keyCode = keyCode;
56 return "KeyCode " + keyCode;
60 return keyCode;
63 public static int keyHash(int keyCode){
64 assert keyCode >= 0 && keyCode <= 255;
65 return keyCode & 0xff;
69 return keyHash(keyCode);