public final class RestoreFocusWindowAction extends DockingWindowAction
DockingWindow.restoreFocus()
method to restore focus to the last focus owner
that inside a window.Modifier and Type | Field and Description |
---|---|
static RestoreFocusWindowAction |
INSTANCE
The only instance of this class.
|
Modifier and Type | Method and Description |
---|---|
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, getIcon, toString
public static final RestoreFocusWindowAction 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 actionprotected java.lang.Object readResolve() throws java.io.ObjectStreamException
java.io.ObjectStreamException