DroidDiagram Programmer's Guide
GroupAttachCmd Members
Methods
 


Represents an action that attaches an item to a group.

The following tables list the members exposed by the GroupAttachCmd type.

 Public Methods

  Name Description

addSubCmd

Adds a command object to a compound command. (Inherited from Command.)

execute

Overloaded.  

getGroup

Gets the group related to this command.

getItem

Gets the item related to this command.

getSubCommands

Gets a collection of all command objects contained within the composite one. (Inherited from Command.)

getTitle

Gets the title of this command. (Inherited from Command.)

redo

This method is called by the UndoManager when redoing actions. (Inherited from Command.)

setTitle

Sets the command title. (Inherited from Command.)

undo

This method is called by the UndoManager when undoing actions.

 Protected Methods

  Name Description

adopt

Merges adjacent commands in the history queue if they are related. (Inherited from Command.)

getContext

Gets the command's context. (Inherited from Command.)

isContainerOf

Determines whether a command has been initiated by this command and should be treated as a derivative. (Inherited from Command.)

 See Also

GroupAttachCmd Class
com.mindfusion.diagramming Namespace