javax.swing.plaf.basic

Class BasicTableUI.KeyHandler

public class BasicTableUI.KeyHandler extends Object implements KeyListener

Handles key events for the JTable. Key events should be handled through the InputMap/ActionMap mechanism since JDK1.3. This class is only there for backwards compatibility.
Method Summary
voidkeyPressed(KeyEvent event)
Receives notification that a key has been pressed.
voidkeyReleased(KeyEvent event)
Receives notification that a key has been released.
voidkeyTyped(KeyEvent event)
Receives notification that a key has been pressed and released.

Method Detail

keyPressed

public void keyPressed(KeyEvent event)
Receives notification that a key has been pressed.

Parameters: event the key event

keyReleased

public void keyReleased(KeyEvent event)
Receives notification that a key has been released.

Parameters: event the key event

keyTyped

public void keyTyped(KeyEvent event)
Receives notification that a key has been pressed and released. Activates the editing session for the focused cell by pressing the character keys.

Parameters: event the key event