Search
CompositeNode Class
Remarks See Also
 

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

 Syntax

Java  Copy Code

public class CompositeNode extends DiagramNode implements ComponentHost

 Remarks

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.

 Inheritance Hierarchy

java.lang.Object
    com.mindfusion.diagramming.DiagramItem
        com.mindfusion.diagramming.DiagramNode
            com.mindfusion.diagramming.CompositeNode

 See Also