talx x1.0.5

talx.feature
Class CreateErrorMessage

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

public class CreateErrorMessage
extends java.lang.Object
implements DelayedFeature, 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
CreateErrorMessage()
           
 
Method Summary
 void eventDispatched(java.awt.AWTEvent event)
          fire a "test" action whenever alt-t is pressed.
 void initialize()
          Called to initialize the feature.
 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

CreateErrorMessage

public CreateErrorMessage()
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()
Description copied from interface: DelayedFeature
Called to initialize the feature. See the Email class for details of the load sequence.

Specified by:
initialize in interface DelayedFeature

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.