|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KeyListener
This interface is for classes that wish to receive keyboard events.
Keyboard
,
KeyEvent
Method Summary | |
---|---|
void |
keyPressed(KeyEvent event)
This method is called when a key is pressed. |
void |
keyReleased(KeyEvent event)
This method is called when a key is released. |
void |
keyTyped(KeyEvent event)
This method is called when a key is typed. |
Method Detail |
---|
void keyTyped(KeyEvent event)
event
- the KeyEvent
indicating that a key was typedvoid keyPressed(KeyEvent event)
event
- the KeyEvent
indicating the key pressvoid keyReleased(KeyEvent event)
event
- the KeyEvent
indicating the key release
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |