de.jsystems.framework.desktop
Class TileAction
java.lang.Object
de.jsystems.framework.common.action.AbstractAction
de.jsystems.framework.common.action.awt.ActionAction
de.jsystems.framework.desktop.TileAction
- All Implemented Interfaces:
- ActionListener, EventListener
- public class TileAction
- extends ActionAction
Diese Action gehoert direkt zum Fenstermenue eines Desktop. Hier werden alle
Fenster innerhalb des Desktop gekachelt angeordnet. Dazu wird hier der
Layoutmanager des Desktop umgeschaltet auf ein GridLayout, wobei die
Anzahl Zeilen und Spalten so berechnet wird, das sich die InternalFrames
annaehernd qudratisch anordnen lassen.
Der Controller in der Action muss vom Typ
BusinessInternalFrameController
sein.
Andernfalls wird eine IllegalArgumentException
ausgeloest.
- Version:
- 1.0
Copyright by Jens Homm 2000 - 2004
- Author:
- Jens Homm JSYSTEMS
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 |
TileAction
public TileAction()
doActionPerformed
public void doActionPerformed(ActionEvent ae)
throws Exception
- Ordnet alle Fenster im Desktop in einer quadratischen Anordnung an.
- Overrides:
doActionPerformed
in class ActionAction
- Parameters:
ae
- Das ausgeloeste ActionEvent.
- Throws:
Exception
- wenn ein Fehler in der Action autritt.