public class DockWindowAction extends DockingWindowAction
DockingWindow.dock()
method.Modifier and Type | Field and Description |
---|---|
static DockWindowAction |
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 DockWindowAction INSTANCE
public javax.swing.Icon getIcon()
DockingWindowAction
getIcon
in interface IconProvider
getIcon
in class DockingWindowAction
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 actionprotected java.lang.Object readResolve() throws java.io.ObjectStreamException
java.io.ObjectStreamException