public final class RestoreParentWindowAction extends DockingWindowAction
DockingWindow.restore()
method. If the parent window is a TabWindow
which is maximized, it is restored.Modifier and Type | Field and Description |
---|---|
static RestoreParentWindowAction |
INSTANCE
The only instance of this class.
|
Modifier and Type | Method and Description |
---|---|
javax.swing.Icon |
getIcon()
Returns the optional icon of this action.
|
java.lang.String |
getName()
Returns the name of this action.
|
boolean |
isPerformable(DockingWindow window)
Returns true if this action is performable on a window.
|
void |
perform(DockingWindow window)
Performs this action on a window.
|
protected java.lang.Object |
readResolve() |
getAction, toString
public static final RestoreParentWindowAction INSTANCE
public java.lang.String getName()
DockingWindowAction
getName
in class DockingWindowAction
public boolean isPerformable(DockingWindow window)
DockingWindowAction
isPerformable
in class DockingWindowAction
window
- the window on which the action will be performedpublic void perform(DockingWindow window)
DockingWindowAction
perform
in class DockingWindowAction
window
- the window on which to perform the actionpublic javax.swing.Icon getIcon()
DockingWindowAction
getIcon
in interface IconProvider
getIcon
in class DockingWindowAction
protected java.lang.Object readResolve() throws java.io.ObjectStreamException
java.io.ObjectStreamException