MindFusion.Diagramming for JavaScript Programmer's Guide
ContainerNode Methods
 


 Public Methods

  Name Description

add

Adds a node to this container.

arrange

Arranges the container's children with the given layout.

containsPoint

Checks if the ContainerNode contains the specified point.

containsRecursively

Determines whether the specified node is contained within this container, either directly or inside child containers.

getAllowAddChildren

Gets a value indicating whether users are allowed to add child nodes to the container.

getAllowRemoveChildren

Gets a value indicating whether users are allowed to remove child nodes from the container.

getCaptionHeight

Gets the height of the container's caption area.

getClipChildren

Gets a value indicating whether child items should be clipped by container boundaries.

getContentPath

Creates a path corresponding to the content area rectangle, excluding caption bar.

getFoldable

Gets a value indicating whether users are allowed to fold the container.

getFolded

Gets a value indicating whether the container is folded.

getOutline

Gets an array of points that define the outline of this node shape.

getShape

Gets the shape of the container's outline.

hitTest

Returns the diagram item that contains the specified point.

onRemove

DiagramItem.onRemove override.

remove

Removes a node from this container.

resizeToFitChildren

Resizes the container making it big enough to contain its child nodes.

setAllowAddChildren

Sets a value indicating whether users are allowed to add child nodes to the container.

setAllowRemoveChildren

Sets a value indicating whether users are allowed to remove child nodes from the container.

setCaptionHeight

Sets the height of the container's caption area.

setClipChildren

Sets a value indicating whether child items should be clipped by container boundaries.

setFoldable

Sets a value indicating whether users are allowed to fold the container.

setFolded

Folds or unfolds the container.

setShape

Sets the shape of the container's outline.

visitNodes

Visits the diagram nodes in reverse Z order.

 See Also

ContainerNode Class
MindFusion.Diagramming Namespace