DroidDiagram Programmer's Guide
FreeFormNodeBuilder Members
Constructors Methods
 


A class used to initialize FreeFormNode objects.

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

 Public Constructors

  Name Description

FreeFormNodeBuilder

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.  

closed

Sets if the node's shape is closed.

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.

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.

points

Sets the node's outline points.

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.

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.

text

Sets the text label displayed inside this node.

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

FreeFormNodeBuilder Class
com.mindfusion.diagramming.builders Namespace