DroidDiagram Programmer's Guide
Factory.createContainerNode Method (Point2D, Dimension2D, boolean)
See Also
 






Creates a new ContainerNode instance at the specified location with the specified size, optionally foldable.

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

 Syntax

Java  Copy Code

public ContainerNode createContainerNode (
    PointF location,
    Dimension size,
    boolean foldable
)

 Parameters

location
The position of the new node.
size
The size of the new node.
foldable
true if the container can be folded; otherwise, false.

 Return Value

The newly created ContainerNode instance.

 Remarks

The method creates a container node at the position specified by location. The size of the container is set by size. The parameter foldable specifies whether the container node is initially foldable. For further customization of the node, use the methods of the ContainerNode class.

 See Also

createContainerNode Method Overload List
Factory Members
Factory Class
com.mindfusion.diagramming Namespace