@Test public void testIsControlKey () { assertFalse(keyDownCodeAllFalse.isControlKey()); assertFalse(keyDownCodeAllTrue.isControlKey()); assertTrue(keyDownCodeControlChar.isControlKey()); }
public boolean isControlKey() { return (getKeyCode() >= 16 && getKeyCode() <= 18); }
Code { public boolean isControlKey() { return (getKeyCode() >= 16 && getKeyCode() <= 18); } }
Code { public boolean isControlKey() { return (getKeyCode() >= 16 && getKeyCode() <= 18); } @SuppressWarnings("unchecked")  Code(KeyEvent event); }
Code { public boolean isControlKey() { return (getKeyCode() >= 16 && getKeyCode() <= 18); } @SuppressWarnings("unchecked")  Code(KeyEvent event); int getCharCode(); int getKeyCode(); boolean isCtrlDown(); boolean isAltDown(); boolean isShiftDown(); boolean isFunctionKey(); boolean isControlKey(); }
Code { public boolean isControlKey() { return (getKeyCode() >= 16 && getKeyCode() <= 18); } @SuppressWarnings("unchecked")  Code(KeyEvent event); int getCharCode(); int getKeyCode(); boolean isCtrlDown(); boolean isAltDown(); boolean isShiftDown(); boolean isFunctionKey(); boolean isControlKey();  }