MindFusion.Diagramming for JavaScript Programmer's Guide

ContainerNode Methods

 


 Public Methods

  Name Description

add

Adds a node to this container.

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.

getFoldable

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

getFolded

Gets a value indicating whether the container is folded.

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.

setFoldable

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

setFolded

Folds or unfolds the container.

 See Also