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.Object java.awt.event.KeyAdapter javax.swing.plaf.basic.BasicTreeUI.KeyHandler
public class BasicTreeUI.KeyHandler extends KeyAdapter
This is used to get mutliple key down events to appropriately generate events.
Modifier and Type | Field and Description |
---|---|
protected boolean |
isKeyDown
Set to true while keyPressed is active. |
protected Action |
repeatKeyAction
Key code that is being generated for. |
Constructor and Description |
---|
BasicTreeUI.KeyHandler()
|
Modifier and Type | Method and Description |
---|---|
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. 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.