|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.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 KeyListener
keyTyped
in class KeyAdapter
public void keyPressed(KeyEvent e)
KeyAdapter
keyPressed
in interface KeyListener
keyPressed
in class KeyAdapter
public void keyReleased(KeyEvent e)
KeyAdapter
keyReleased
in interface KeyListener
keyReleased
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 © 1993, 2011, Oracle and/or its affiliates. All rights reserved.