Package net.infonode.docking.action
Class RestoreFocusWindowAction
java.lang.Object
net.infonode.docking.action.DockingWindowAction
net.infonode.docking.action.RestoreFocusWindowAction
- All Implemented Interfaces:
Serializable
,IconProvider
Uses the
DockingWindow.restoreFocus()
method to restore focus to the last focus owner
that inside a window.- Since:
- IDW 1.3.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RestoreFocusWindowAction
The only instance of this class. -
Method Summary
Modifier and TypeMethodDescriptiongetName()
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 Object
Methods inherited from class net.infonode.docking.action.DockingWindowAction
getAction, getIcon, toString
-
Field Details
-
INSTANCE
The only instance of this class.
-
-
Method Details
-
getName
Description copied from class:DockingWindowAction
Returns the name of this action.- Specified by:
getName
in classDockingWindowAction
- Returns:
- the name of this action
-
isPerformable
Description copied from class:DockingWindowAction
Returns true if this action is performable on a window.- Specified by:
isPerformable
in classDockingWindowAction
- Parameters:
window
- the window on which the action will be performed- Returns:
- true if this action is performable on the window
-
perform
Description copied from class:DockingWindowAction
Performs this action on a window.- Specified by:
perform
in classDockingWindowAction
- Parameters:
window
- the window on which to perform the action
-
readResolve
- Throws:
ObjectStreamException
-