DroidDiagram Programmer's Guide
Group Members
Constructors Methods
 


Represents an hierarchical group of items. One of the items is considered the master item, the rest are subordinated items that follow the master one when it is modified.

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

 Public Constructors

  Name Description

Group

Overloaded.  

 Public Methods

  Name Description

attachProportional

Adds a node to the group.

attachToCorner

Adds a node to the group.

attachToLinkPoint

Adds a node to the group.

attachToLinkSegment

Adds a node to the group.

attachToLongestHSegment

Adds a node to the group, maintaining its relative positions to master link's longest horizontal segment.

attachToSideMiddle

Attaches a node to the group, so that it will follow the middle point of another node's side.

detach

Removes a node from the group.

getAttachedNodes

Gets a list of the subordinated nodes in this group.

getAutoDeleteItems

Gets a value indicating whether the subordinated items in this group will be deleted automatically when the group is destroyed.

getExpandable

Gets a value indicating whether expansion of a tree branch that contains the master item of a group will propagate through its attached items.

getFollowMasterContainment

 

getFollowMasterRotation

Gets a value indicating whether the attached items in a group follow the rotation of the group's master item.

getLinksToMove

Gets the links to move.

getMainItem

Gets the master item of this group.

getTag

Gets the custom data object assigned to this group.

getVisible

Gets a value indicating whether this group is visible.

readExternal

Implements Externalizable.

setAutoDeleteItems

Sets a value indicating whether the subordinated items in this group should be deleted automatically when the group is destroyed.

setExpandable

Sets a value indicating whether expansion of a tree branch that contains the master item of a group should propagate through its attached items.

setFollowMasterContainment

 

setFollowMasterRotation

Sets a value indicating whether the attached items in a group should follow the rotation of the group's master item.

setTag

Assigns a custom data object to this group. If the tag object is serializable, it will be automatically saved when serializing the diagram into binary format. When serializing to XML, you can save the tag by handling the DiagramListener.serializeTag event.

setVisible

Shows or hides all items in the group.

writeExternal

Implements Externalizable.

 See Also

Group Class
com.mindfusion.diagramming Namespace