|
Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
| 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 extends 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 and Description |
|---|
BasicComboBoxUI.KeyHandler()
|
| Modifier and Type | Method and Description |
|---|---|
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 KeyListenerkeyPressed in class KeyAdapter
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.