Links between nodes in DroidDiagram diagrams are represented by instances of the DiagramLink class.
The following tables list the members exposed by the DiagramLink type.
Name | Description | |
---|---|---|
![]() |
Overloaded. |
Name | Description | |
---|---|---|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
![]() |
Overloaded. Adds a new label to this link. |
|
![]() |
|
|
![]() |
Creates a copy of this link. |
|
![]() |
Overloaded. |
|
![]() |
|
|
![]() |
Draws an arrowhead shape. |
|
![]() |
Gets a value indicating whether users are allowed to move the last control point of a link. |
|
![]() |
Gets a value indicating whether users are allowed to move the first control point of a link. |
|
![]() |
Gets a value indicating whether a link should automatically find its way between nodes so that it will not cross other nodes. |
|
![]() |
Gets a value indicating whether a link end point should automatically snap to the nearest diagram node while the user moves the point's adjustment handle. |
|
![]() |
Gets the brush used to fill the arrowhead drawn at the link base. |
|
![]() |
Gets the shape that is displayed at the origin of a link. |
|
![]() |
Gets the size of the shape displayed at the origin of a link. |
|
![]() |
Gets the smallest rectangle that bounds all points of a link. |
|
![]() |
Gets the brush used to fill the item's interior. (Inherited from DiagramItem.) |
|
![]() |
Gets the orientation of the first segment of a cascading link. |
|
![]() |
Gets the list of control points of a link. |
|
![]() |
Gets the type of custom drawing performed on this link. |
|
![]() |
Gets the destination node of a link. |
|
![]() |
Gets the index of the anchor point to which a link is connected at its destination. |
|
![]() |
Gets the index of the row of a table or the anchor point of a box to which a link is connected. |
|
![]() |
Gets 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. |
|
![]() |
Implements InplaceEditable.getEditRect. Returns the rectangle where the in-place edit text box should appear (in document coordinates). |
|
![]() |
Gets the effective brush of the item. (Inherited from DiagramItem.) |
|
![]() |
Gets the currently effective font of the item. This property returns getFont if it is not null, or a font with the DiagramItemStyle.getFontFamily, DiagramItemStyle.getFontSize, and DiagramItemStyle.getFontStyle properties of the item's style. (Inherited from DiagramItem.) |
|
![]() |
Creates a Pen object representing the currently effective head pen of the link. This method returns a pen corresponding to the link's DiagramLink.getHeadPen if it is not null, or a pen with the DiagramLinkStyle.getHeadStroke and DiagramLinkStyle.getHeadStrokeThickness properties of the link's style. |
|
![]() |
Gets the effective pen of the item. (Inherited from DiagramItem.) |
|
![]() |
Creates a Brush object representing the currently effective shadow brush of the item. This method returns a system brush corresponding to the item's getShadowBrush if the item's getShadowBrush is not null, or a system brush corresponding to the DiagramItemStyle.getShadowBrush property of the item's style. (Inherited from DiagramItem.) |
|
![]() |
Gets the effective text brush of the item. (Inherited from DiagramItem.) |
|
![]() |
Gets the position of the last control point of this link. |
|
![]() |
Gets the font used to draw the text of an item. (Inherited from DiagramItem.) |
|
![]() |
Gets the appearance of the link's selection handles. |
|
![]() |
Gets the brush used to fill the arrowhead drawn at the link's destination. |
|
![]() |
Gets the pen used to draw the arrowhead shapes outlines. |
|
![]() |
Gets the shape of this link's arrowhead. |
|
![]() |
Gets the size of the arrowhead shape. |
|
![]() |
Gets the hyperlink associated with an item. (Inherited from DiagramItem.) |
|
![]() |
Gets user-defined identifier associated with this item. (Inherited from DiagramItem.) |
|
![]() |
Gets a value indicating whether an item should be ignored by the automatic layout algorithms. (Inherited from DiagramItem.) |
|
![]() |
Gets the brush used to fill the arrowheads drawn at the middle of link segments. |
|
![]() |
Gets the shape that is displayed at the middle of each segment of a link. |
|
![]() |
Gets the size of the shape displayed at the middle of each segment of a link. |
|
![]() |
Returns the list of all labels displayed by this link. |
|
![]() |
Gets the zero-based index of the layer this item is associated with, or -1, if the item is not associated with any layer. (Inherited from DiagramItem.) |
|
![]() |
Returns a hashtable containing properties specific to layout algorithms. (Inherited from DiagramItem.) |
|
![]() |
Gets the length of this link. |
|
![]() |
Gets a value indicating whether users are allowed to modify an item. (Inherited from DiagramItem.) |
|
![]() |
Returns the index of the longest non-vertical segment of the link. |
|
![]() |
Gets the hierarchical group in which this item is a subordinate. (Inherited from DiagramItem.) |
|
![]() |
Gets the origin node of a link. |
|
![]() |
Gets the index of the anchor point to which a link is connected at its origin. |
|
![]() |
Gets the index of the row of a table or the anchor point of a box to which a link is connected. |
|
![]() |
Gets the diagram that contains this item. (Inherited from DiagramItem.) |
|
![]() |
Gets the pen used to draw the item frame lines. (Inherited from DiagramItem.) |
|
![]() |
Gets a value indicating whether an item will be printed. (Inherited from DiagramItem.) |
|
![]() |
Gets a value indicating whether a link should preserve its original shape while the nodes related to that link are moved around. |
|
![]() |
For internal use. (Inherited from DiagramItem.) |
|
![]() |
Gets the number of segments of this link. |
|
![]() |
Gets a value indicating whether this item is selected. (Inherited from DiagramItem.) |
|
![]() |
Gets the brush used to paint the item's shadow. (Inherited from DiagramItem.) |
|
![]() |
Gets the horizontal distance between a shadow and the item that casts it. (Inherited from DiagramItem.) |
|
![]() |
Gets the vertical distance between a shadow and the item that casts it. (Inherited from DiagramItem.) |
|
![]() |
Gets the shape of a link. |
|
![]() |
Gets the position of the first control point of this link. |
|
![]() |
Gets the style associated with the item. (Inherited from DiagramItem.) |
|
![]() |
Gets the group of subordinated items attached to this one. (Inherited from DiagramItem.) |
|
![]() |
Gets user-defined data assigned to an item. (Inherited from DiagramItem.) |
|
![]() |
Gets the text of the link's label. |
|
![]() |
Gets the brush used to paint texts inside the item. (Inherited from DiagramItem.) |
|
![]() |
Gets the spacing between the item boundaries and its text. (Inherited from DiagramItem.) |
|
![]() |
Gets the link's text placement and orientation. |
|
![]() |
Implements InplaceEditable.getTextToEdit. Returns the string that should be displayed initially when the link's text is edited in-place. |
|
![]() |
Gets the tooltip text displayed when the pointer rests over this item. (Inherited from DiagramItem.) |
|
![]() |
Gets a value indicating whether an item is visible. (Inherited from DiagramItem.) |
|
![]() |
Gets a weight value used in layout and path-finding algorithms. (Inherited from DiagramItem.) |
|
![]() |
Gets the position of an item within the diagram's Z-order. (Inherited from DiagramItem.) |
|
![]() |
Checks whether there are any nodes attached to this item. (Inherited from DiagramItem.) |
|
![]() |
Returns the diagram item that contains the specified point. (Inherited from DiagramItem.) |
|
![]() |
DiagramItem.hitTestHandle override. |
|
![]() |
Returns a DiagramLinkBuilder object used to configure this DiagramLink instance. |
|
![]() |
Overloaded. |
|
![]() |
Gets a value indicating whether a link is connected to any nodes. |
|
![]() |
Returns the label whose layout rectangle contains the specified point. |
|
![]() |
Returns the items that can be reached from this item by following the path specified in the given query expression. (Inherited from DiagramItem.) |
|
![]() |
Implements Externalizable. |
|
![]() |
Chooses new anchor points for a link. |
|
![]() |
Removes the specified label from this link. |
|
![]() |
Sets the link control points so that a link goes between its related nodes without crossing other nodes. |
|
![]() |
Sets a value indicating whether users are allowed to move the last control point of a link. |
|
![]() |
Sets a value indicating whether users are allowed to move the first control point of a link. |
|
![]() |
Sets a value indicating whether a link should automatically find its way between nodes so that it will not cross other nodes. |
|
![]() |
Sets a value indicating whether a link end point should automatically snap to the nearest diagram node while the user moves the point's adjustment handle. |
|
![]() |
Sets a brush used to fill the arrowhead drawn at the link base. |
|
![]() |
Sets the shape that is displayed at the origin of a link. |
|
![]() |
|
|
![]() |
Sets the size of the shape displayed at the origin of a link. |
|
![]() |
Sets the brush used to fill the item's interior. (Inherited from DiagramItem.) |
|
![]() |
Sets the orientation of the first segment of a cascading link. |
|
![]() |
Sets the type of custom drawing performed on this link. |
|
![]() |
Sets the destination node of a link. |
|
![]() |
Sets the anchor point to which a link is connected at its destination. |
|
![]() |
Sets the row of a table or the anchor point of a node to which a link is connected. |
|
![]() |
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. |
|
![]() |
Implements InplaceEditable.setEditedText. Assigns the edited text to this link after in-place edit operation completes successfully. |
|
![]() |
Sets the position of the last control point of this link. |
|
![]() |
Sets the font used to draw the text of an item. (Inherited from DiagramItem.) |
|
![]() |
Sets the appearance of the link's selection handles. |
|
![]() |
Sets a brush used to fill the arrowhead drawn at the link's destination. |
|
![]() |
Sets the pen used to draw the arrowhead shapes outlines. |
|
![]() |
Sets the shape of the link's arrowhead. |
|
![]() |
|
|
![]() |
Sets the size of the arrowhead shape. |
|
![]() |
Sets the hyperlink associated with an item. (Inherited from DiagramItem.) |
|
![]() |
Assigns user-defined identifier to this item. (Inherited from DiagramItem.) |
|
![]() |
Sets a value indicating whether an item should be ignored by the automatic layout algorithms. (Inherited from DiagramItem.) |
|
![]() |
Sets a brush used to fill the arrowheads drawn at the middle of link segments. |
|
![]() |
|
|
![]() |
Sets the shape that is displayed at the middle of each segment of a link. |
|
![]() |
Sets the size of the shape displayed at the middle of each segment of a link. |
|
![]() |
Sets the zero-based index of the layer this item is associated with, or -1, if the item is not associated with any layer. (Inherited from DiagramItem.) |
|
![]() |
Sets a value indicating whether users are allowed to modify an item. (Inherited from DiagramItem.) |
|
![]() |
Sets the origin node of a link. |
|
![]() |
Sets the anchor point to which a link is connected at its origin. |
|
![]() |
Sets the row of a table or the anchor point of a box to which a link is connected. |
|
![]() |
Sets the pen used to draw the item frame lines. (Inherited from DiagramItem.) |
|
![]() |
Sets a value indicating whether an item will be printed. (Inherited from DiagramItem.) |
|
![]() |
Sets a value indicating whether a link should preserve its original shape while the nodes related to that link are moved around. |
|
![]() |
Sets the number of segments of this link. |
|
![]() |
Selects or deselects an item. (Inherited from DiagramItem.) |
|
![]() |
Sets the brush used to paint the item's shadow. (Inherited from DiagramItem.) |
|
![]() |
Sets the horizontal distance between a shadow and the item that casts it. (Inherited from DiagramItem.) |
|
![]() |
Sets the vertical distance between a shadow and the item that casts it. (Inherited from DiagramItem.) |
|
![]() |
Sets the shape of a link. |
|
![]() |
Sets the position of the first control point of this link. |
|
![]() |
Sets the style associated with the item. (Inherited from DiagramItem.) |
|
![]() |
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. (Inherited from DiagramItem.) |
|
![]() |
Sets the text of the link's label. |
|
![]() |
Sets the brush used to paint texts inside the item. (Inherited from DiagramItem.) |
|
![]() |
Sets the spacing between the item boundaries and its text. (Inherited from DiagramItem.) |
|
![]() |
Sets the link's text placement and orientation. |
|
![]() |
Sets the tooltip text that should be displayed when the pointer rests over this item. (Inherited from DiagramItem.) |
|
![]() |
Specifies whether the link should be drawn on the screen. |
|
![]() |
Sets a weight value used in layout and path-finding algorithms. (Inherited from DiagramItem.) |
|
![]() |
Sets the position of an item within the diagram's Z-order. (Inherited from DiagramItem.) |
|
![]() |
Overloaded. |
|
![]() ![]() |
Returns a DiagramLinkBuilder object used to configure and create new DiagramLink instances. |
|
![]() |
Implements Externalizable. |
|
![]() |
Moves an item to the bottom of the Z order. (Inherited from DiagramItem.) |
|
![]() |
Moves an item down in the Z order. (Inherited from DiagramItem.) |
|
![]() |
Moves an item up in the Z order. (Inherited from DiagramItem.) |
|
![]() |
Moves an item to the top of the Z order. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
![]() |
DiagramItem.allowCreate override. Invoked while the user draws this item to test whether the operation can be completed in the current context. |
|
![]() |
DiagramItem.allowModify override. Invoked during interactive modification of items to test whether the operation can be completed in the current context. |
|
![]() |
DiagramItem.cancelModify override. Invoked when the interactive modification of this link has been canceled. |
|
![]() |
DiagramItem.completeCreate override. Invoked when the user finishes drawing this item. |
|
![]() |
DiagramItem.completeModify override. |
|
![]() |
DiagramItem.createProperties override. |
|
![]() |
DiagramItem.createState override. |
|
![]() |
Draws the link on the specified Canvas surface. |
|
![]() |
DiagramItem.drawShadow override. Draws the link's shadow on the specified Canvas surface. |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
DiagramItem.getRepaintRect override. |
|
![]() |
Gets the effective value of the style property with the specified name. (Inherited from DiagramItem.) |
|
![]() |
Loads the link content from an XML element. |
|
![]() |
Called when an item is added to a Diagram, either by the user, programmatically or by undo / redo. (Inherited from DiagramItem.) |
|
![]() |
|
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
Called when a group child node has been modified. Override this method if you need to know when a node from the SubordinateGroup is modified. (Inherited from DiagramItem.) |
|
![]() |
Invoked when the user clicks this item. (Inherited from DiagramItem.) |
|
![]() |
Invoked when the user double-clicks this item. (Inherited from DiagramItem.) |
|
![]() |
DiagramItem.onLoad override. |
|
![]() |
Called when the diagram's MeasureUnit changes. (Inherited from DiagramItem.) |
|
![]() |
Called when an item is modified |
|
![]() |
Called when an item is removed from a Diagram, either by the user, programmatically or by undo / redo. (Inherited from DiagramItem.) |
|
![]() |
Invoked when the associated style or theme have changed. (Inherited from DiagramItem.) |
|
![]() |
Invoked when font property values of an associated style change. (Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
Overloaded. (Inherited from DiagramItem.) |
|
![]() |
DiagramItem.restoreProperties override. |
|
![]() |
DiagramItem.restoreState override. |
|
![]() |
DiagramItem.saveProperties override. |
|
![]() |
DiagramItem.saveState override. |
|
![]() |
Saves the link content into an XML element. |
|
![]() |
Marks the diagram as changed. (Inherited from DiagramItem.) |
|
![]() |
Determines whether the item is rendered in the current context. (Inherited from DiagramItem.) |
|
![]() |
DiagramItem.startCreate override. Invoked once when the user starts drawing a new item interactively. |
|
![]() |
DiagramItem.startModify override. Invoked when the user starts modifying this link interactively. |
|
![]() |
DiagramItem.updateCreate override. Invoked during interactive creation of this item. |
|
![]() |
DiagramItem.updateModify override. Invoked during interactive modification of this item. |