DroidDiagram Programmer's Guide
ModifyItemCmd Members
Constructors Methods
 


Represents an action that changes the size or position of a diagram item.

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

 Public Constructors

  Name Description

ModifyItemCmd

Initializes a new instance of the ModifyItemCmd class.

 Public Methods

  Name Description

addSubCmd

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

execute

This method is called internally by DroidDiagram when saving item position and size for later undo/redo.

getItem

Gets a reference to the modified item.

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.

setTitle

Sets the command title. (Inherited from Command.)

undo

This method is called by the UndoManager when undoing actions.

 Protected Methods

  Name Description

adopt

 

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

ModifyItemCmd Class
com.mindfusion.diagramming Namespace