com.mindfusion.diagramming
Class ExpandTreeViewItemCmd

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

public class ExpandTreeViewItemCmd
extends Command


Constructor Summary
ExpandTreeViewItemCmd(TreeViewNode node, TreeViewItem item)
           
 
Method Summary
 void execute(boolean undoEnabled)
          This method is called internally by JDiagram when performing the action.
 TreeViewItem item()
           
 void redo()
          This method is called by the UndoManager when redoing actions.
 void undo()
          This method is called by the UndoManager when undoing actions.
 
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

ExpandTreeViewItemCmd

public ExpandTreeViewItemCmd(TreeViewNode node,
                             TreeViewItem item)
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()
Description copied from class: Command
This method is called by the UndoManager when undoing actions.

Overrides:
undo in class Command

redo

public void redo()
Description copied from class: Command
This method is called by the UndoManager when redoing actions.

Overrides:
redo in class Command

item

public TreeViewItem item()