DroidDiagram Programmer's Guide
DiagramNode.attachTo Method (DiagramNode, AttachToNode)
See Also
 






Attaches a node to a corner or side of another node.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public void attachTo (
    DiagramNode node,
    AttachToNode attType
)

 Parameters

node

A DiagramNode to which to attach this node.

attType
A member of the AttachToNode enumeration.

 Remarks

This method attaches the current node to the corner of another node. If there isn't a Group instance already associated with the master item, one is created automatically by this method. The group is then accessible by the master's SubordinateGroup property, or this node's MasterGroup property.

The node is attached by calling the attachToCorner method of Group. The attached node then maintains its original offset from another node's corner point.

 See Also

attachTo Method Overload List
DiagramNode Members
DiagramNode Class
com.mindfusion.diagramming Namespace
detach Method