|
talx x1.0.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objecttalx.controller.mixed.ReaderHandler
Used when the reader contains a message.
| Field Summary |
| Method Summary | |
boolean |
canRun(GUIState state,
Controller c)
This method tells the controller whether the given handler will function in the given GUIState. |
static ReaderHandler |
getInstance()
Returns the only object of this type. |
ActionHandler |
handleAction(java.awt.event.ActionEvent ev,
Controller c)
Handles reader controls. |
ActionHandler |
handleReply(Controller c)
|
GUIState |
setComposeCaption(GUIState s,
Settings settings)
Returns a state with an appropriate composer caption. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static ReaderHandler getInstance()
public boolean canRun(GUIState state,
Controller c)
ActionHandler
canRun in interface ActionHandlerstate - the current visual state of the system
public ActionHandler handleAction(java.awt.event.ActionEvent ev,
Controller c)
throws ActionVetoException
handleAction in interface ActionHandlerjava.lang.NullPointerException - if ev is null. This class cannot be used as
an initial handler class because that would result in an infinite loop on
controls that are not reader controls.
ActionVetoException - to suppress a controller change
finished event upon termination.public ActionHandler handleReply(Controller c)
public GUIState setComposeCaption(GUIState s,
Settings settings)
s - the state containing the appropriate list of people.settings - the settings containing the base initiate and response captions.
|
talx x1.0.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.