DroidDiagram Programmer's Guide
ContainerNodeBuilder Members
Constructors Methods
 


A class used to initialize ContainerNode objects.

The following tables list the members exposed by the ContainerNodeBuilder type.

 Public Constructors

  Name Description

ContainerNodeBuilder

Overloaded.  

 Public Methods

  Name Description

allowAddChildren

Sets a value indicating whether child nodes can be added interactively to this container.

allowIncomingLinks

Sets a value indicating whether users are allowed to draw links to this node.

allowOutgoingLinks

Sets a value indicating whether users are allowed to draw links from this node.

allowRemoveChildren

Sets a value indicating whether child nodes can be removed interactively from this container.

anchorPattern

Sets the anchor points to which link end points are aligned when links connect to this node.

autoShrink

Sets a value indicating whether the container should shrink in size when nodes are removed from it.

brush

Overloaded.  

caption

Sets the container's caption text.

captionBackBrush

Overloaded.  

captionBrush

Overloaded.  

captionFormat

Sets the caption alignment and format.

captionHeight

Sets the height of the container's caption area.

clipChildren

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

constraints

Sets constraints to the node size and movement direction. The constraints are applied when a user modifies the node interactively. They are not checked when the position of a node is set programmatically.

cornerRadius

Sets the radius of node's corner arcs when its Shape is set to RoundedRectangle.

create

Creates a new object with the attributes accumulated by this builder.

enabledHandles

Sets a combination of NodeHandleType members identifying which manipulation handles are enabled for a node. This effectively controls what kind of modifications users are allowed to perform on this node.

expandable

Sets a value indicating whether users are allowed to expand or collapse the tree branch that starts from this node.

expanded

Expands or collapses the tree branch that starts from a node.

foldable

Sets a value indicating whether the user is allowed to fold this container. A foldable container can be folded and unfolded by clicking the up/down arrow displayed in the caption area.

folded

Sets a value indicating whether this container is folded. When folded, the container children are not visible, and only its caption bar is displayed.

foldedSize

Sets the size of the container when folded.

font

Overloaded.  

get

Returns an existing object passed for initialization to this builder.

handlesStyle

Sets the style of the box selection handles.

highlightPen

Sets the Pen used to draw the container frame lines when an item is dragged over the container.

hyperLink

Sets the hyperlink associated with an item.

id

Assigns user-defined identifier to this item. If the id object is serializable, it will be automatically saved when serializing the diagram into binary format. When serializing to XML, you can save the tag by handling the DiagramListener.serializeTag event.

ignoreLayout

Sets a value indicating whether an item should be ignored by the automatic layout algorithms.

layerIndex

Sets the zero-based index of the layer this item is associated with, or -1, if the item is not associated with any layer.

locked

Sets a value indicating whether users are allowed to modify an item.

margin

Sets how much space should be left between contained nodes and the container borders.

minimumSize

Sets the minimum size of the container. The container won't shrink smaller than that size, even if it does not contain any items.

obstacle

Sets a value indicating whether the link routing algorithm should consider this node an obstacle.

pen

Sets the pen used to draw the item frame lines.

printable

Sets a value indicating whether an item will be printed.

rotationAngle

Sets the rotation angle of a node.

selected

Selects or deselects an item.

shadowBrush

Overloaded.  

shadowOffsetX

Sets the horizontal distance between a shadow and the item that casts it.

shadowOffsetY

Sets the vertical distance between a shadow and the item that casts it.

shape

Sets the shape of this container.

style

Sets the style associated with the item.

tag

Assigns user-defined data to an item. If the tag object is serializable, it will be automatically saved when serializing the diagram into binary format. When serializing to XML, you can save the tag by handling the DiagramListener.serializeTag event.

textBrush

Overloaded.  

textPadding

Sets the spacing between the item boundaries and its text.

toolTip

Sets the tooltip text that should be displayed when the mouse pointer rests over an item.

visible

Sets a value indicating whether the container is visible.

weight

Sets a weight value used in layout and path-finding algorithms.

zIndex

Sets the position of an item within the diagram's Z order.

 See Also

ContainerNodeBuilder Class
com.mindfusion.diagramming.builders Namespace