public abstract class KeyAdapter extends Object implements KeyListener
| Constructor and Description |
|---|
KeyAdapter() |
public void keyPressed(KeyEvent e)
KeyListenerkeyPressed in interface KeyListenerpublic void keyReleased(KeyEvent e)
KeyListenerreleased, excluding auto-repeat modifier keys. See KeyEvent.
To simulated the removed keyTyped(KeyEvent e) semantics,
simply apply the following constraints upfront and bail out if not matched, i.e.:
if( !e.isPrintableKey() || e.isAutoRepeat() ) {
return;
}
keyReleased in interface KeyListenerCopyright 2010 JogAmp Community.