|
Java™ Platform Standard Ed. 6 DRAFT internal-b11 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.event.KeyAdapter
javax.swing.plaf.basic.BasicComboBoxUI.KeyHandler
public class BasicComboBoxUI.KeyHandler
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 | |
---|---|
BasicComboBoxUI.KeyHandler()
|
Method Summary | |
---|---|
void |
keyPressed(KeyEvent e)
Invoked when a key has been pressed. |
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 |
---|
public BasicComboBoxUI.KeyHandler()
Method Detail |
---|
public void keyPressed(KeyEvent e)
KeyAdapter
keyPressed
in interface KeyListener
keyPressed
in class KeyAdapter
|
Java™ Platform Standard Ed. 6 DRAFT internal-b11 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to the terms of the GNU General Public License.