public abstract class KeyAdapter extends java.lang.Object implements KeyListener
| Constructor and Description |
|---|
KeyAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
keyPressed(KeyEvent ke)
KEY_PRESSED events are fired when any key (including a function
key and cursor key) is pressed while the component has keyboard
input focus.
|
void |
keyReleased(KeyEvent ke)
This method is never called in CHARVA, but is present for
compatibility with javax.swing.
|
void |
keyTyped(KeyEvent ke)
KEY_TYPED events are fired when a key representing a valid text
character (not a function key or cursor key) is pressed.
|
public void keyPressed(KeyEvent ke)
KeyListenerkeyPressed in interface KeyListenerpublic void keyTyped(KeyEvent ke)
KeyListenerkeyTyped in interface KeyListenerpublic void keyReleased(KeyEvent ke)
KeyListenerkeyReleased in interface KeyListener