com.ibm.aglets.tahiti
Class ActionAndKeyListener

java.lang.Object
  |
  +--com.ibm.aglets.tahiti.ActionAndKeyListener
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, java.awt.event.KeyListener

public abstract class ActionAndKeyListener
extends java.lang.Object
implements java.awt.event.ActionListener, java.awt.event.KeyListener


Constructor Summary
ActionAndKeyListener()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ev)
           
protected abstract  void doAction()
           
 void keyPressed(java.awt.event.KeyEvent ev)
           
 void keyReleased(java.awt.event.KeyEvent ev)
           
 void keyTyped(java.awt.event.KeyEvent ev)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionAndKeyListener

public ActionAndKeyListener()
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ev)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

doAction

protected abstract void doAction()

keyPressed

public void keyPressed(java.awt.event.KeyEvent ev)
Specified by:
keyPressed in interface java.awt.event.KeyListener

keyReleased

public void keyReleased(java.awt.event.KeyEvent ev)
Specified by:
keyReleased in interface java.awt.event.KeyListener

keyTyped

public void keyTyped(java.awt.event.KeyEvent ev)
Specified by:
keyTyped in interface java.awt.event.KeyListener