com.mindfusion.diagramming
Class ScrollTreeViewCmd

java.lang.Object
  extended by com.mindfusion.diagramming.Command
      extended by com.mindfusion.diagramming.ScrollTreeViewCmd

public class ScrollTreeViewCmd
extends Command


Constructor Summary
ScrollTreeViewCmd(TreeViewNode node)
           
 
Method Summary
 void execute(boolean undoEnabled)
          This method is called internally by JDiagram when performing the action.
 TreeViewNode getTreeViewNode()
          Gets a reference to the TreeViewNode affected by this operation.
 void redo()
          Command.redo override.
 void undo()
          Command.undo override.
 
Methods inherited from class com.mindfusion.diagramming.Command
addSubCmd, adopt, getContext, getSubCommands, getTitle, isContainerOf, setTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScrollTreeViewCmd

public ScrollTreeViewCmd(TreeViewNode node)
Method Detail

execute

public void execute(boolean undoEnabled)
Description copied from class: Command
This method is called internally by JDiagram when performing the action.

Specified by:
execute in class Command
Parameters:
undoEnabled - true if the undo manager is enabled at this time, otherwise false.

undo

public void undo()
Command.undo override.

Overrides:
undo in class Command

redo

public void redo()
Command.redo override.

Overrides:
redo in class Command

getTreeViewNode

public TreeViewNode getTreeViewNode()
Gets a reference to the TreeViewNode affected by this operation.