de.jsystems.framework.common.actions
Class UndoAction
java.lang.Object
de.jsystems.framework.common.action.AbstractAction
de.jsystems.framework.common.action.awt.ActionAction
de.jsystems.framework.common.actions.UndoAction
- All Implemented Interfaces:
- ActionListener, EventListener
- public class UndoAction
- extends ActionAction
Die Action gehoert entweder zum BusinessMenu
oder zur BusinessToolbar
. Aufgerufen wird
die Action, wenn der zugehoerige Menuepunkt oder Toolbarbutton angewaehlt wird.
Die Action ruft dann im Controller
die
Methode Controller.undo()
auf.
Damit koennte zum Beispiel die letzte Aktion rueckgaengig gemacht werden.
- Version:
- 1.0
Copyright by Jens Homm 2000 - 2004
- Author:
- Jens Homm JSYSTEMS
Constructor Summary |
UndoAction()
Erzeugt eine neue UndoAction. |
Methods inherited from class de.jsystems.framework.common.action.AbstractAction |
addControl, disable, enable, exceptionInAction, getController, getControls, getException, getView, hasException, initialize, isEnabled, removeAll, removeControl, setException |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UndoAction
public UndoAction()
- Erzeugt eine neue UndoAction.
doActionPerformed
public void doActionPerformed(ActionEvent ae)
throws Exception
- Ruft im Controller die Methode
Controller.undo()
auf.
- Overrides:
doActionPerformed
in class ActionAction
- Parameters:
ae
- Das ausgeloeste ActionEvent.
- Throws:
Exception
- wenn in der Action ein Fehler auftritt.