charva.awt.event
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)
KeyListener
keyPressed
in interface KeyListener
public void keyTyped(KeyEvent ke)
KeyListener
keyTyped
in interface KeyListener
public void keyReleased(KeyEvent ke)
KeyListener
keyReleased
in interface KeyListener