java.awt.event
Class KeyAdapter
java.lang.Object
|
+--java.awt.event.KeyAdapter
All Implemented Interfaces:
KeyListener
This class implements KeyListener
and implements all methods
with empty bodies. This allows a listener interested in implementing only
a subset of the KeyListener
interface to extend this class
and override only the desired methods.
Since:Author:- Aaron M. Renn <arenn@urbanophile.com>
See Also:
KeyAdapter
public KeyAdapter()
Do nothing default constructor for subclasses.
keyPressed
public void keyPressed(java.awt.event.KeyEvent event)
Implements this method in the interface with an empty body.
Parameters:
keyReleased
public void keyReleased(java.awt.event.KeyEvent event)
Implements this method in the interface with an empty body.
Parameters:
keyTyped
public void keyTyped(java.awt.event.KeyEvent event)
Implements this method in the interface with an empty body.
Parameters:
KeyListener
and implements all methods with empty bodies. This allows a listener interested in implementing only a subset of theKeyListener
interface to extend this class and override only the desired methods.