|
|||||||||
| 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 multiple key down events to appropriately genereate 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()
Constructor |
|
| 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 KeyAdaptere - the key typedpublic void keyPressed(KeyEvent e)
keyPressed in interface KeyListenerkeyPressed in class KeyAdaptere - the key pressedpublic void keyReleased(KeyEvent e)
keyReleased in interface KeyListenerkeyReleased in class KeyAdaptere - the key released
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||