de.jsystems.framework.common.actions
Class CutAction
java.lang.Object
de.jsystems.framework.common.action.AbstractAction
de.jsystems.framework.common.action.awt.ActionAction
de.jsystems.framework.common.actions.CutAction
- All Implemented Interfaces:
- ActionListener, EventListener
- public class CutAction
- 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.cut()
auf.
Damit koennte zum Beispile ein makierter Text in die Zwischenablage kopiert
werden. Zu beachten ist hier aber, das SWING-Controls ihre eigene CutAction
haben, die genau das macht. Das ist also ein SWING-spezifisches verhalten.
Diese Action wird nur benoetigt, wenn eigene Objekte in die Zwischenablage
kopiert werden sollen.
- Version:
- 1.0
Copyright by Jens Homm 2000 - 2004
- Author:
- Jens Homm JSYSTEMS
Constructor Summary |
CutAction()
Erzeugt eine neue CutAction. |
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 |
CutAction
public CutAction()
- Erzeugt eine neue CutAction.
doActionPerformed
public void doActionPerformed(ActionEvent ae)
throws Exception
- Ruft im Controller die Methode
Controller.cut()
auf.
- Overrides:
doActionPerformed
in class ActionAction
- Parameters:
ae
- Das ausgeloeste ActionEvent.
- Throws:
Exception
- wenn in der Action ein Fehler auftritt.