|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActionHandler
This interface allows to create a bridge between an action and an
object that want to be aware about events on actions (such as creation or
deletion of an action).
This file is part of Malai.
Copyright (c) 2009-2012 Arnaud BLOUIN
Malai is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later version.
Malai is distributed without any warranty; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
Method Summary | |
---|---|
void |
onActionAborted(Action action)
Notifies the handler when the given action is aborted. |
void |
onActionAdded(Action action)
Notifies the handler when the given action is added to the registry. |
void |
onActionCancelled(Action action)
Notifies the handler when the given action is cancelled. |
void |
onActionDone(Action action)
Notifies the handler when the given action is done. |
void |
onActionExecuted(Action action)
Notifies the handler when the given action is executed. |
Methods inherited from interface org.malai.undo.UndoHandler |
---|
onUndoableAdded, onUndoableRedo, onUndoableUndo |
Method Detail |
---|
void onActionCancelled(Action action)
action
- The cancelled action.void onActionAdded(Action action)
action
- The added action.void onActionAborted(Action action)
action
- The aborted action.void onActionExecuted(Action action)
action
- The executed action.void onActionDone(Action action)
action
- The action that ends.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |