net.infonode.docking.action
Class NullWindowAction

java.lang.Object
  extended bynet.infonode.docking.action.DockingWindowAction
      extended bynet.infonode.docking.action.NullWindowAction
All Implemented Interfaces:
IconProvider, Serializable

public class NullWindowAction
extends DockingWindowAction

Does nothing.

Since:
IDW 1.3.0
Version:
$Revision: 1.4 $
See Also:
Serialized Form

Field Summary
static NullWindowAction INSTANCE
          The only instance of this class.
 
Method Summary
 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.
 
Methods inherited from class net.infonode.docking.action.DockingWindowAction
getAction, getIcon, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final NullWindowAction INSTANCE
The only instance of this class.

Method Detail

getName

public String getName()
Description copied from class: DockingWindowAction
Returns the name of this action.

Specified by:
getName in class DockingWindowAction
Returns:
the name of this action

isPerformable

public boolean isPerformable(DockingWindow window)
Description copied from class: DockingWindowAction
Returns true if this action is performable on a window.

Specified by:
isPerformable in class DockingWindowAction
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: DockingWindowAction
Performs this action on a window.

Specified by:
perform in class DockingWindowAction
Parameters:
window - the window on which to perform the action


Copyright © 2007 NNL Technology AB. All Rights Reserved.