Home » openjdk-7 » javax » swing » plaf » basic » [javadoc | source]
javax.swing.plaf.basic
public class: BasicTreeUI.KeyHandler [javadoc | source]
java.lang.Object
   java.awt.event.KeyAdapter
      javax.swing.plaf.basic.BasicTreeUI$KeyHandler

All Implemented Interfaces:
    KeyListener

This is used to get mutliple key down events to appropriately generate events.
Field Summary
protected  Action repeatKeyAction    Key code that is being generated for. 
protected  boolean isKeyDown    Set to true while keyPressed is active. 
Method from javax.swing.plaf.basic.BasicTreeUI$KeyHandler Summary:
keyPressed,   keyReleased,   keyTyped
Methods from java.awt.event.KeyAdapter:
keyPressed,   keyReleased,   keyTyped
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.plaf.basic.BasicTreeUI$KeyHandler Detail:
 public  void keyPressed(KeyEvent e) 
 public  void keyReleased(KeyEvent e) 
 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.