|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object charva.awt.event.KeyAdapter
An abstract class for receiving key events. The methods provided in this class are empty; the class is provided as a convenience for implementing the KeyListener interface. You only have to implement the methods you are interested in.
Constructor Summary | |
KeyAdapter()
|
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public KeyAdapter()
Method Detail |
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |