|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mindfusion.diagramming.Command com.mindfusion.diagramming.ExpandTreeViewItemCmd
public class ExpandTreeViewItemCmd
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 |
---|
public ExpandTreeViewItemCmd(TreeViewNode node, TreeViewItem item)
Method Detail |
---|
public void execute(boolean undoEnabled)
Command
execute
in class Command
undoEnabled
- true
if the undo manager is enabled
at this time, otherwise false
.public void undo()
Command
UndoManager
when undoing actions.
undo
in class Command
public void redo()
Command
UndoManager
when redoing actions.
redo
in class Command
public TreeViewItem item()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |