Package net.infonode.docking.action
Class RestoreParentWithAbortWindowAction
- java.lang.Object
-
- net.infonode.docking.action.DockingWindowAction
-
- net.infonode.docking.action.RestoreParentWithAbortWindowAction
-
- All Implemented Interfaces:
java.io.Serializable,IconProvider
public final class RestoreParentWithAbortWindowAction extends DockingWindowAction
Restores a window using theDockingWindow.restore()method. If the parent window is aTabWindowwhich is maximized, it is restored. The action callsDockingWindow.restoreWithAbort().- Since:
- IDW 1.4.0
- Version:
- $Revision: 1.3 $
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static javax.swing.Iconiconstatic RestoreParentWithAbortWindowActionINSTANCEThe only instance of this class.private static longserialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description privateRestoreParentWithAbortWindowAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.IcongetIcon()Returns the optional icon of this action.java.lang.StringgetName()Returns the name of this action.booleanisPerformable(DockingWindow window)Returns true if this action is performable on a window.voidperform(DockingWindow window)Performs this action on a window.protected java.lang.ObjectreadResolve()private static voidrestore(DockingWindow window)-
Methods inherited from class net.infonode.docking.action.DockingWindowAction
getAction, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
INSTANCE
public static final RestoreParentWithAbortWindowAction INSTANCE
The only instance of this class.
-
icon
private static final javax.swing.Icon icon
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from class:DockingWindowActionReturns the name of this action.- Specified by:
getNamein classDockingWindowAction- Returns:
- the name of this action
-
isPerformable
public boolean isPerformable(DockingWindow window)
Description copied from class:DockingWindowActionReturns true if this action is performable on a window.- Specified by:
isPerformablein classDockingWindowAction- Parameters:
window- the window on which the action will be performed- Returns:
- true if this action is performable on the window
-
perform
public void perform(DockingWindow window)
Description copied from class:DockingWindowActionPerforms this action on a window.- Specified by:
performin classDockingWindowAction- Parameters:
window- the window on which to perform the action
-
getIcon
public javax.swing.Icon getIcon()
Description copied from class:DockingWindowActionReturns the optional icon of this action.- Specified by:
getIconin interfaceIconProvider- Overrides:
getIconin classDockingWindowAction- Returns:
- the optional icon of this action, null if there is no icon
-
restore
private static void restore(DockingWindow window)
-
readResolve
protected java.lang.Object readResolve() throws java.io.ObjectStreamException- Throws:
java.io.ObjectStreamException
-
-