net.sf.sbcc.componentcombo.plaf.basic
Class BasicComponentComboBoxUI.KeyHandler

java.lang.Object
  extended by java.awt.event.KeyAdapter
      extended by net.sf.sbcc.componentcombo.plaf.basic.BasicComponentComboBoxUI.KeyHandler
All Implemented Interfaces:
java.awt.event.KeyListener, java.util.EventListener
Enclosing class:
BasicComponentComboBoxUI

public class BasicComponentComboBoxUI.KeyHandler
extends java.awt.event.KeyAdapter

This listener checks to see if the key event isn't a navigation key. If it finds a key event that wasn't a navigation key it dispatches it to JComboBox.selectWithKeyChar() so that it can do type-ahead. This public inner class should be treated as protected. Instantiate it only within subclasses of BasicComboBoxUI.


Constructor Summary
BasicComponentComboBoxUI.KeyHandler()
           
 
Method Summary
 void keyPressed(java.awt.event.KeyEvent e)
           
 
Methods inherited from class java.awt.event.KeyAdapter
keyReleased, keyTyped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicComponentComboBoxUI.KeyHandler

public BasicComponentComboBoxUI.KeyHandler()
Method Detail

keyPressed

public void keyPressed(java.awt.event.KeyEvent e)
Specified by:
keyPressed in interface java.awt.event.KeyListener
Overrides:
keyPressed in class java.awt.event.KeyAdapter