|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
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
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
|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.