DroidDiagram Programmer's Guide
DiagramLinkBuilder Members
Constructors Methods
 


A class used to initialize DiagramLink objects.

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

 Public Constructors

  Name Description

DiagramLinkBuilder

Overloaded.  

 Public Methods

  Name Description

allowMoveEnd

Sets a value indicating whether users are allowed to move the last control point of a link.

allowMoveStart

Sets a value indicating whether users are allowed to move the first control point of a link.

autoRoute

Sets a value indicating whether a link should automatically find its way between nodes so that it will not cross other nodes.

autoSnapToNode

Sets a value indicating whether the end points of a link should be automatically aligned to node borders while a user modifies the link.

baseBrush

Overloaded.  

baseShape

Sets the shape that is displayed at the origin of a link.

baseShapeSize

Sets the size of the shape displayed at the origin of a link.

brush

Overloaded.  

cascadeOrientation

Sets the orientation of the first segment of a cascading link.

create

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

customDraw

Gets the type of custom drawing performed on this link.

destination

Sets the destination node of a link.

destinationAnchor

sets the anchor point to which a link is connected at its destination.

destinationIndex

Sets the row of a table or the anchor point of a box to which a link is connected.

dynamic

Sets whether a link should automatically update the position of its end points while a node related to the link is moved, so that the link end segments always point to the center of the link's nodes.

endPoint

Sets the position of the last control point of this link.

font

Overloaded.  

get

Returns an existing object passed for initialization to this builder.

handlesStyle

Sets the style of the link selection handles.

headBrush

Overloaded.  

headPen

Sets the pen used to draw the arrowhead shapes outlines.

headShape

Sets the shape of the arrowhead.

headShapeSize

Sets the size of the arrowhead shape.

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.

intermediateBrush

Overloaded.  

intermediateShape

Sets the shape that is displayed at the middle of each segment of a link.

intermediateShapeSize

Sets the size of the shape displayed at the middle of each segment of a link.

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.

origin

Sets the origin node of a link.

originAnchor

Sets the anchor point to which a link is connected at its origin.

originIndex

Sets the row of a table or the anchor point of a box to which a link is connected.

pen

Sets the pen used to draw the item frame lines.

printable

Sets a value indicating whether an item will be printed.

retainForm

Sets a value indicating whether a link should preserve its original shape while the nodes related to that link are moved around.

segmentCount

Sets the number of segments of this link.

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 a link.

startPoint

Sets the position of the first control point of this link.

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 of the link's label.

textBrush

Overloaded.  

textPadding

Sets the spacing between the item boundaries and its text.

textStyle

Sets the alignment of the link's label.

toolTip

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

visible

Specifies whether the link should be drawn on the screen.

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

DiagramLinkBuilder Class
com.mindfusion.diagramming.builders Namespace