KeyAdapterNameKeyAdapter
DescriptionThe KeyAdapter class implements the methods of KeyListener with empty functions. It may be easier for you to extend KeyAdapter, overriding only those methods you are interested in, than to implement KeyListener and provide the empty functions yourself. Class Definition
public abstract class java.awt.event.KeyAdapter extends java.lang.Object implements java.awt.event.KeyListener { // Instance Methods public void keyPressed (KeyEvent e); public void keyReleased (KeyEvent e); public void keyTyped (KeyEvent e); } Instance MethodskeyPressedpublic void keyPressed (KeyEvent e)
keyReleasedpublic void keyReleased (KeyEvent e)
keyTypedpublic void keyTyped (KeyEvent e)
See AlsoKeyEvent, KeyListener |
|