public final class GroupDetachCmd extends Command
| Modifier and Type | Method and Description |
|---|---|
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. |
addSubCmd, adopt, getContext, getSubCommands, getTitle, isContainerOf, redo, setTitlepublic void execute(boolean undoEnabled)
public void undo()
UndoManager when undoing actions.public void execute()
public DiagramItem getItem()
DiagramItem instance.