DroidDiagram Programmer's Guide
TreeViewNodeBuilder Members
Constructors Methods
 


A class used to initialize TreeViewNode objects.

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

 Public Constructors

  Name Description

TreeViewNodeBuilder

Overloaded.  

 Public Methods

  Name Description

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.

anchorPattern

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

brush

Overloaded.  

caption

Sets the text displayed as caption of the node.

captionHeight

Gets the height of the node's caption area.

captionImage

Gets the image that is displayed in the caption.

connectionStyle

Sets a value indicating whether drawing a link from/to this node should connect an item or the whole node as an integral entity.

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.

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.

enableStyledText

Sets a value indicating whether styled text rendering is enabled.

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.

font

Overloaded.  

get

Returns an existing object passed for initialization to this builder.

handlesStyle

Sets the style of the box selection handles.

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.

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.

scrollable

Sets a value indicating whether users are allowed to scroll this tree view.

scrollPosition

Sets the current scroll position.

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 node.

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.  

textFormat

Sets a TextFormat object specifying how to format and align the text of this node.

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 an item 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

TreeViewNodeBuilder Class
com.mindfusion.diagramming.builders Namespace