|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mindfusion.diagramming.Command
com.mindfusion.diagramming.GroupDetachCmd
public final class GroupDetachCmd
Represents an action that detaches an item from a group.
Method Summary | |
---|---|
void |
execute()
Detaches the item from the group. |
void |
execute(boolean undoEnabled)
This method is called internally by JDiagram when detaching items from groups. |
Group |
getGroup()
Gets the group related to this command. |
DiagramItem |
getItem()
Gets the item related to this command. |
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, redo, setTitle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void execute(boolean undoEnabled)
execute
in class Command
undoEnabled
- true
if the undo manager is enabled
at this time, otherwise false
.public void undo()
UndoManager
when undoing actions.
undo
in class Command
public void execute()
public Group getGroup()
Group
instance.public DiagramItem getItem()
DiagramItem
instance.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |