de.jsystems.framework.common.actions
Class NewAction
java.lang.Object
de.jsystems.framework.common.action.AbstractAction
de.jsystems.framework.common.action.awt.ActionAction
de.jsystems.framework.common.actions.NewAction
- All Implemented Interfaces:
- ActionListener, EventListener
- public class NewAction
- 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.createNew()
auf.
Hiermit koennten z.B. neue Items in einem Model erzeugt werden.
- Version:
- 1.0
Copyright by Jens Homm 2000 - 2004
- Author:
- Jens Homm JSYSTEMS
Constructor Summary |
NewAction()
Erzeugt eine neue NewAction. |
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 |
NewAction
public NewAction()
- Erzeugt eine neue NewAction.
doActionPerformed
public void doActionPerformed(ActionEvent ae)
throws Exception
- Ruft im Controller die Methode
Controller.createNew()
auf.
- Overrides:
doActionPerformed
in class ActionAction
- Parameters:
ae
- Das ausgeloeste ActionEvent.
- Throws:
Exception
- wenn in der Action ein Fehler auftritt.