de.jsystems.framework.common.actions
Class UndoAction

java.lang.Object
  extended byde.jsystems.framework.common.action.AbstractAction
      extended byde.jsystems.framework.common.action.awt.ActionAction
          extended byde.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.
 
Method Summary
 void doActionPerformed(ActionEvent ae)
          Ruft im Controller die Methode Controller.undo() auf.
 
Methods inherited from class de.jsystems.framework.common.action.awt.ActionAction
actionPerformed
 
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
 

Constructor Detail

UndoAction

public UndoAction()
Erzeugt eine neue UndoAction.

Method Detail

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.