com.extjs.gxt.ui.client.event
Class KeyListener

java.lang.Object
  extended by com.extjs.gxt.ui.client.event.KeyListener
All Implemented Interfaces:
Listener<ComponentEvent>, java.util.EventListener

public class KeyListener
extends java.lang.Object
implements Listener<ComponentEvent>

Key listener.


Constructor Summary
KeyListener()
           
 
Method Summary
 void componentKeyDown(ComponentEvent event)
          Fires on key down.
 void componentKeyPress(ComponentEvent event)
          Fires on key press.
 void componentKeyUp(ComponentEvent event)
          Fires on key up.
 void handleEvent(ComponentEvent e)
          Sent when an event that the listener has registered for occurs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyListener

public KeyListener()
Method Detail

componentKeyDown

public void componentKeyDown(ComponentEvent event)
Fires on key down.

Parameters:
event - the component event

componentKeyPress

public void componentKeyPress(ComponentEvent event)
Fires on key press.

Parameters:
event - the component event

componentKeyUp

public void componentKeyUp(ComponentEvent event)
Fires on key up.

Parameters:
event - the component event

handleEvent

public void handleEvent(ComponentEvent e)
Description copied from interface: Listener
Sent when an event that the listener has registered for occurs.

Specified by:
handleEvent in interface Listener<ComponentEvent>
Parameters:
e - the event which occurred