The CompositeNode class represents nodes that are defined via hierarchies of child components, arranged within layout panels.
Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming
Java
![]() |
---|
public class CompositeNode extends DiagramNode implements ComponentHost |
Use the Components property to add components to the node. The components are arranged on top of each other by default. To apply custom arrangement logic either place the components inside a ContainerComponent, such as GridPanel, and add this ContainerComponent to the CompositeNode or override the arrangeComponents method to apply custom arrangement logic.
To search for a component given its name, use the findComponent method. To get a component at a specific position, use getComponentAt.
java.lang.Object
com.mindfusion.diagramming.DiagramItem
com.mindfusion.diagramming.DiagramNode
com.mindfusion.diagramming.CompositeNode