Lines Matching refs:keyCode

99     private int keyCode = KeyEvent.VK_UNDEFINED;
147 * @param keyCode the key code for this <code>AWTKeyStroke</code>
154 protected AWTKeyStroke(char keyChar, int keyCode, int modifiers,
157 this.keyCode = keyCode;
252 (char keyChar, int keyCode, int modifiers, boolean onKeyRelease)
277 cacheKey.keyCode = keyCode;
308 * calls to <code>getAWTKeyStroke(int keyCode, int modifiers)</code>.
383 * @param keyCode an int specifying the numeric code for a keyboard key
392 public static AWTKeyStroke getAWTKeyStroke(int keyCode, int modifiers,
394 return getCachedStroke(KeyEvent.CHAR_UNDEFINED, keyCode, modifiers,
430 * @param keyCode an int specifying the numeric code for a keyboard key
437 public static AWTKeyStroke getAWTKeyStroke(int keyCode, int modifiers) {
438 return getCachedStroke(KeyEvent.CHAR_UNDEFINED, keyCode, modifiers,
447 * event, and the keyCode from a <code>KeyPressed</code> or
568 int keyCode = getVKValue(keyCodeName);
570 return getCachedStroke(KeyEvent.CHAR_UNDEFINED, keyCode,
616 int keyCode = 0;
620 keyCode = KeyEvent.class.getField(key).getInt(KeyEvent.class);
626 value = Integer.valueOf(keyCode);
651 return keyCode;
685 if (keyCode == KeyEvent.VK_UNDEFINED) {
701 return (((int)keyChar) + 1) * (2 * (keyCode + 1)) * (modifiers + 1) +
714 return (ks.keyChar == keyChar && ks.keyCode == keyCode &&
731 if (keyCode == KeyEvent.VK_UNDEFINED) {
736 getVKText(keyCode);
771 static String getVKText(int keyCode) {
773 Integer key = Integer.valueOf(keyCode);
787 && fields[i].getInt(KeyEvent.class) == keyCode)
809 return getCachedStroke(keyChar, keyCode, modifiers, onKeyRelease);