public class BasicTreeUI.KeyHandler extends KeyAdapter
| 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 |
|---|
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.
|
protected Action repeatKeyAction
protected boolean isKeyDown
public void keyTyped(KeyEvent e)
keyTyped in interface KeyListenerkeyTyped in class KeyAdaptere - the event to be processedpublic void keyPressed(KeyEvent e)
KeyAdapterkeyPressed in interface KeyListenerkeyPressed in class KeyAdaptere - the event to be processedpublic void keyReleased(KeyEvent e)
KeyAdapterkeyReleased in interface KeyListenerkeyReleased in class KeyAdaptere - the event to be processed Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-01-26-133437.ivan.openjdk9onspinwait