|
Java™ Platform Standard Ed. 6 |
|||||||||
| 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.BasicTreeUI.KeyHandler
public class BasicTreeUI.KeyHandler
This is used to get mutliple key down events to appropriately generate events.
| Field Summary | |
|---|---|
protected boolean |
isKeyDown
Set to true while keyPressed is active. |
protected Action |
repeatKeyAction
Key code that is being generated for. |
| Constructor Summary | |
|---|---|
BasicTreeUI.KeyHandler()
|
|
| Method Summary | |
|---|---|
void |
keyPressed(KeyEvent e)
Invoked when a key has been pressed. |
void |
keyReleased(KeyEvent e)
Invoked when a key has been released. |
void |
keyTyped(KeyEvent e)
Invoked when a key has been typed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Action repeatKeyAction
protected boolean isKeyDown
| Constructor Detail |
|---|
public BasicTreeUI.KeyHandler()
| Method Detail |
|---|
public void keyTyped(KeyEvent e)
keyTyped in interface KeyListenerkeyTyped in class KeyAdapterpublic void keyPressed(KeyEvent e)
KeyAdapter
keyPressed in interface KeyListenerkeyPressed in class KeyAdapterpublic void keyReleased(KeyEvent e)
KeyAdapter
keyReleased in interface KeyListenerkeyReleased in class KeyAdapter
|
Java™ Platform Standard Ed. 6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.