|
talx x1.0.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objecttalx.controller.base.DialogInterceptor
Provides basic functionality for most interceptor classes that handle dialog behaviors. This class uses a tree structure to determine which dialogs to show and which actions to take in response. The nested DialogTree class represents this structure.
| Nested Class Summary | |
protected class |
DialogInterceptor.DialogActivator
Class used by DialogTree to determine if a dialog should be shown. |
class |
DialogInterceptor.DialogRunner
Class used by DialogTree to handle yes or no clicks. |
protected class |
DialogInterceptor.DialogTree
class to manage sequences of dialogs to be shown. |
| Field Summary | |
protected StringValueMap |
sequences
The sequences to execute for the given commands. |
| Constructor Summary | |
DialogInterceptor()
|
|
| Method Summary | |
void |
cancelAction()
Call this methods to cancel the action that started the current sequence of dialogs. |
boolean |
claim(java.awt.event.ActionEvent ev,
Controller c)
Handles dialogs listed in sequences. |
void |
initialize(Controller c)
Called when the system starts up. |
void |
release()
Called when the system shuts down. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected StringValueMap sequences
| Constructor Detail |
public DialogInterceptor()
| Method Detail |
public boolean claim(java.awt.event.ActionEvent ev,
Controller c)
throws ActionVetoException
sequences.
Constructors of subclasses should initialize the sequences StringValueMap
to contain all the command = dialog tree pairs to execute.
claim in interface InterceptorActionVetoException - to veto the action.public void initialize(Controller c)
initialize in interface Interceptorpublic void release()
release in interface TALFeaturepublic void cancelAction()
|
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.