javax.swing.plaf.basic
Class BasicComboBoxUI.KeyHandler
java.lang.Object
java.awt.event.KeyAdapter
javax.swing.plaf.basic.BasicComboBoxUI.KeyHandler
- All Implemented Interfaces:
- KeyListener, EventListener
- Enclosing class:
- BasicComboBoxUI
public class BasicComboBoxUI.KeyHandler
- extends KeyAdapter
KeyHandler handles key events occuring while JComboBox has focus.
Method Summary |
void |
keyPressed(KeyEvent e)
Invoked whenever key is pressed while JComboBox is in focus. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicComboBoxUI.KeyHandler
public BasicComboBoxUI.KeyHandler()
keyPressed
public void keyPressed(KeyEvent e)
- Invoked whenever key is pressed while JComboBox is in focus.
- Specified by:
keyPressed
in interface KeyListener
- Overrides:
keyPressed
in class KeyAdapter
- Parameters:
e
- the event, ignored in this implementation