This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
javax.swing.plaf.basic
class BasicTreeUI.KeyHandler
- All Implemented Interfaces:
- KeyListener
- Enclosing class:
- BasicTreeUI
public class BasicTreeUI.KeyHandler
extends KeyAdapter
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. |
Method Summary |
void |
Invoked when a key has been pressed.
|
void |
Invoked when a key has been released.
|
void |
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 |
isKeyDown
protected boolean isKeyDown
-
Set to true while keyPressed is active.
repeatKeyAction
protected Action repeatKeyAction
-
Key code that is being generated for.
BasicTreeUI.KeyHandler
public BasicTreeUI.KeyHandler()
-
keyPressed
public void keyPressed(KeyEvent e)
-
- Overrides:
keyPressed
in class KeyAdapter
- Parameters:
e
keyReleased
public void keyReleased(KeyEvent e)
-
- Overrides:
keyReleased
in class KeyAdapter
- Parameters:
e
keyTyped
public void keyTyped(KeyEvent e)
-
Invoked when a key has been typed.
Moves the keyboard focus to the first element
whose first letter matches the alphanumeric key
pressed by the user. Subsequent same key presses
move the keyboard focus to the next object that
starts with the same letter.
- Overrides:
keyTyped
in class KeyAdapter
- Parameters:
e
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.