|
talx x1.0.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for controller chain of responsibility objects.
| Method Summary | |
boolean |
claim(java.awt.event.ActionEvent ev,
Controller c)
Determines whether this feature is responsible for the action. |
void |
initialize(Controller c)
Allows the interceptor to change the gui state. |
| Methods inherited from interface talx.feature.TALFeature |
release |
| Method Detail |
public boolean claim(java.awt.event.ActionEvent ev,
Controller c)
throws ActionVetoException
Interceptors that wish to make some minor change to the gui state but not stop other effects from an action must make their change, refire the action via the controller's doAction() method, and then claim the action. Obviously, such interceptors must remember the action event to prevent them from reacting to it the next time.
Unlike ActionHandlers, which are stateless, Interceptors must manage their own state.
ActionVetoException - to veto the action.public void initialize(Controller c)
|
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.