MindFusion.Java Package Programmer's Guide
ContainerNode.add Method
See Also
 






Adds a node to this container.

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

 Syntax

Java  Copy Code

public void add (
    DiagramNode node
)

 Parameters

node

The DiagramNode that should be added to the container.

 Remarks

By default, if container's bounding rectangle does not include specified node's bounds, the container grows automatically to accommodate the new node. To disable that, set AutoGrow to false.

Child nodes that have been added to a container are stored in its Children list. The parent ContainerNode of a child node can be accessed via the Container property.

 See Also

ContainerNode Members
ContainerNode Class
com.mindfusion.diagramming Namespace
remove Method
setAllowAddChildren Method