net.infonode.docking.action
public class StateDependentWindowAction extends DockingWindowAction
Since: IDW 1.3.0
Version: $Revision: 1.6 $
Field Summary | |
---|---|
static StateDependentWindowAction | MAXIMIZE_RESTORE
If the window is maximized or minimized it is restored, otherwise it is maximized. |
static StateDependentWindowAction | MAXIMIZE_RESTORE_WITH_ABORT
If the window is maximized or minimized it is restored, otherwise it is maximized. |
Constructor Summary | |
---|---|
StateDependentWindowAction(DockingWindowAction normalAction, DockingWindowAction minimizedAction, DockingWindowAction maximizedAction)
Constructor.
|
Method Summary | |
---|---|
String | getName() |
boolean | isPerformable(DockingWindow window) |
void | perform(DockingWindow window) |
Since: IDW 1.4.0
Parameters: normalAction the action to perform if a window is in normal state minimizedAction the action to perform if a window is minimized maximizedAction the action to perform if a window is maximized