DroidDiagram Programmer's Guide
AddToContainerCmd Members
Constructors Methods
 


Undoable command that implements an addition of a node to a container.

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

 Protected Constructors

  Name Description

AddToContainerCmd

Intializes a new instance of the AddToContainerCmd class.

 Public Methods

  Name Description

addSubCmd

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

execute

Carries out the command action.

getContainer

Gets the container node associated with the command.

getNodes

Gets the item associated with the 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

Redoes the command.

setTitle

Sets the command title. (Inherited from Command.)

undo

Undoes the command.

 Protected Methods

  Name Description

adopt

Merges adjacent commands in the history queue if they are related.

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.

 See Also

AddToContainerCmd Class
com.mindfusion.diagramming Namespace