talx x1.0.5

talx.feature
Class KeyTest

java.lang.Object
  extended bytalx.feature.KeyTest
All Implemented Interfaces:
java.awt.event.AWTEventListener, ControllerConstants, java.util.EventListener, TALFeature

public class KeyTest
extends java.lang.Object
implements TALFeature, java.awt.event.AWTEventListener, ControllerConstants

Converts hot key combination to a test action. This feature listens for the key chord alt-t.


Field Summary
 
Fields inherited from interface talx.controller.ControllerConstants
EXIT_COMMAND, FILE_ATTACHMENTS_KEY, ILLEGAL_ACTION_COMMAND, LOGOUT_COMMAND, MAIL_COUNT_CHANGED_COMMAND, REMOTE_GAME_COMMAND, SAVE_COMMAND, STOP_COMMAND, TEST_COMMAND
 
Constructor Summary
KeyTest()
           
 
Method Summary
 void eventDispatched(java.awt.AWTEvent event)
          fire a "test" action whenever alt-t is pressed.
 void initialize(Controller c)
           
 void release()
          Releases all system resources held by this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyTest

public KeyTest()
Method Detail

eventDispatched

public void eventDispatched(java.awt.AWTEvent event)
fire a "test" action whenever alt-t is pressed.

Specified by:
eventDispatched in interface java.awt.event.AWTEventListener

initialize

public void initialize(Controller c)

release

public void release()
Description copied from interface: TALFeature
Releases all system resources held by this object. The general contract of pluggable features is that once their release method is called, they should be elligible for garbage collection. The exceptions to this are references to this object held in the ActionDispatcher and in the Transport model. Both of those objects are cleared by the system. However, in all other cases, if this object subscribed to a listener interface, it must unsubscribe in this method. This method should block until all object clean-up has been accomplished. This includes closing all open files, etc. Once the object has returned from the release method, the system may go down without further warning.

Specified by:
release in interface TALFeature

talx x1.0.5

© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.