Represents nodes that can render SVG drawings.
The following tables list the members exposed by the SvgNode type.
Name | Description | |
---|---|---|
![]() |
Overloaded. |
Name | Description | |
---|---|---|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
![]() |
Overloaded. (Inherited from DiagramNode.) |
|
![]() |
Down-casts the item to specified type. (Inherited from DiagramItem.) |
|
![]() |
Overloaded. (Inherited from DiagramNode.) |
|
![]() |
Creates a copy of this item. (Inherited from DiagramItem.) |
|
![]() |
Overloaded. (Inherited from ShapeNode.) |
|
![]() |
Detaches a node from its master group. (Inherited from DiagramNode.) |
|
![]() |
Gets a collection of all links entering this node. (Inherited from DiagramNode.) |
|
![]() |
Gets all links connected to this node. (Inherited from DiagramNode.) |
|
![]() |
Gets a collection of all links going out of this node. (Inherited from DiagramNode.) |
|
![]() |
Gets a value indicating whether the node's shape flips when an edge is dragged over its opposite edge. (Inherited from ShapeNode.) |
|
![]() |
Gets a value indicating whether users are allowed to draw links to this node. (Inherited from DiagramNode.) |
|
![]() |
Gets a value indicating whether users are allowed to draw links from this node. (Inherited from DiagramNode.) |
|
![]() |
Gets the anchor points to which link end points are aligned when links connect to this node. (Inherited from DiagramNode.) |
|
![]() |
Gets the node location and size. (Inherited from DiagramNode.) |
|
![]() |
Gets the brush used to fill the item's interior. (Inherited from DiagramItem.) |
|
![]() |
Returns the center point of this node. (Inherited from DiagramNode.) |
|
![]() |
Gets the movement and size constraints applied to a node. (Inherited from DiagramNode.) |
|
![]() |
Gets the parent ContainerNode containing this node. (Inherited from DiagramNode.) |
|
![]() |
Gets an SvgContent instance representing the SVG drawing rendered in this node. |
|
![]() |
Gets the alignment of the SvgContent displayed in this node. |
|
![]() |
Gets a value indicating what type of custom drawing to perform on a node. (Inherited from ShapeNode.) |
|
![]() |
Implements InplaceEditable.getEditRect. Returns the rectangle where the in-place edit text box should appear (in document coordinates). (Inherited from ShapeNode.) |
|
![]() |
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.) |
|
![]() |
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 a collection with all effects applied to this node. (Inherited from DiagramNode.) |
|
![]() |
Gets 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. (Inherited from DiagramNode.) |
|
![]() |
Gets a value indicating whether the text of a node contains formatting tags which should be processed by JDiagram. (Inherited from ShapeNode.) |
|
![]() |
Gets a value indicating whether users are allowed to expand or collapse the tree branch that starts from this node. (Inherited from DiagramNode.) |
|
![]() |
Gets a value indicating whether the tree branch that starts from a node is expanded or collapsed. (Inherited from DiagramNode.) |
|
![]() |
Gets a value indicating whether the node's shape is flipped horizontally. (Inherited from ShapeNode.) |
|
![]() |
Gets a value indicating whether the node's shape is flipped vertically. (Inherited from ShapeNode.) |
|
![]() |
Gets the font used to draw the text label of a node. (Inherited from ShapeNode.) |
|
![]() |
Gets a value indicating how the node adjustment handles behave and what do they look like. (Inherited from DiagramNode.) |
|
![]() |
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 image displayed inside this node. (Inherited from ShapeNode.) |
|
![]() |
Gets the alignment of the node's image. (Inherited from ShapeNode.) |
|
![]() |
Gets the padding distance between node's borders and Image. (Inherited from ShapeNode.) |
|
![]() |
Gets a URL used to load an image into this cell. (Inherited from ShapeNode.) |
|
![]() |
Gets the links coming into a node. (Inherited from DiagramNode.) |
|
![]() |
Returns the list of supplementary labels displayed by this node. (Inherited from DiagramNode.) |
|
![]() |
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.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
Gets a value indicating whether users are allowed to modify an item. (Inherited from DiagramItem.) |
|
![]() |
Gets the hierarchical group in which this node is a subordinate item. (Inherited from DiagramNode.) |
|
![]() |
Returns the node's Container or main item of MasterGroup. (Inherited from DiagramNode.) |
|
![]() |
Returns a point that lies on the outline of this node, at the shortest distance from the specified point. (Inherited from DiagramNode.) |
|
![]() |
Gets a value indicating whether the link routing algorithm should consider this node an obstacle. (Inherited from DiagramNode.) |
|
![]() |
Gets the opacity of this item. (Inherited from DiagramItem.) |
|
![]() |
Gets the links going out from a node. (Inherited from DiagramNode.) |
|
![]() |
Gets the diagram that contains this item. (Inherited from DiagramItem.) |
|
![]() |
Gets the pen used to draw the item frame lines. (Inherited from DiagramItem.) |
|
![]() |
Gets the plain text extracted from the formatted text by removing the formatting tags. (Inherited from ShapeNode.) |
|
![]() |
Gets a value indicating whether an item will be printed. (Inherited from DiagramItem.) |
|
![]() ![]() |
Gets the bounding rectangle of this node, when it is rotated at the specified angle around the specified pivot. (Inherited from DiagramNode.) |
|
![]() |
Gets a value indicating whether the image displayed inside a node should rotate together with the node. (Inherited from ShapeNode.) |
|
![]() |
Gets a value indicating whether the text displayed inside a node should rotate together with the node. (Inherited from ShapeNode.) |
|
![]() |
Gets the rotation angle of this node. (Inherited from DiagramNode.) |
|
![]() |
For internal use. (Inherited from DiagramItem.) |
|
![]() |
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 node. (Inherited from ShapeNode.) |
|
![]() |
Gets an orientation angle applied to the shape definition before the shape points are mapped to the node's bounding rectangle. (Inherited from ShapeNode.) |
|
![]() |
Gets the style associated with the item. (Inherited from DiagramItem.) |
|
![]() |
Gets the group of subordinated items attached to this one. (Inherited from DiagramItem.) |
|
![]() |
Gets a URL used to load an SVG file into this node. |
|
![]() |
Gets user-defined data assigned to an item. (Inherited from DiagramItem.) |
|
![]() |
Gets the text displayed inside this node. (Inherited from ShapeNode.) |
|
![]() |
Gets the brush used to paint texts inside the item. (Inherited from DiagramItem.) |
|
![]() |
Gets a TextFormat object specifying how to format and align the text of this node. (Inherited from ShapeNode.) |
|
![]() |
Gets the spacing between the item boundaries and its text. (Inherited from DiagramItem.) |
|
![]() |
Implements InplaceEditable.getTextToEdit. Returns the text that should be displayed initially when this node is edited in-place. (Inherited from ShapeNode.) |
|
![]() |
Gets the tooltip text displayed when the pointer rests over this item. (Inherited from DiagramItem.) |
|
![]() |
Gets a value indicating whether only the text and image of a node should be drawn on the screen. (Inherited from ShapeNode.) |
|
![]() |
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. (Inherited from DiagramNode.) |
|
![]() |
Returns a ShapeNodeBuilder object used to configure this ShapeNode instance. (Inherited from ShapeNode.) |
|
![]() |
Returns an SvgNodeBuilder object used to configure this SvgNode instance. |
|
![]() |
Returns the label whose layout rectangle contains the specified point. (Inherited from DiagramNode.) |
|
![]() |
Moves a node to the specified location. (Inherited from DiagramNode.) |
|
![]() ![]() |
Determines whether two nodes intersect. (Inherited from DiagramNode.) |
|
![]() |
Invoked when a diagram item is being dragged out of this node. (Inherited from DiagramNode.) |
|
![]() |
Invoked when a diagram item is being dragged over this node. (Inherited from DiagramNode.) |
|
![]() |
Invoked when a diagram item is dropped over this node. (Inherited from DiagramNode.) |
|
![]() |
Returns the items that can be reached from this item by following the path specified in the given query expression. (Inherited from DiagramItem.) |
|
![]() |
Deserializes the object from the specified reader. |
|
![]() |
Removes the specified label from this node. (Inherited from DiagramNode.) |
|
![]() |
(Inherited from ShapeNode.) |
|
![]() |
Sets the size of a node. (Inherited from DiagramNode.) |
|
![]() |
Resizes a node so that it will be as big as the image displayed in the node. (Inherited from ShapeNode.) |
|
![]() |
Makes a node big enough to display its text without clipping. (Inherited from ShapeNode.) |
|
![]() |
Sets a value indicating whether the node's shape flips when an edge is dragged over its opposite edge. (Inherited from ShapeNode.) |
|
![]() |
Sets a value indicating whether users are allowed to draw links to this node. (Inherited from DiagramNode.) |
|
![]() |
Sets a value indicating whether users are allowed to draw links from this node. (Inherited from DiagramNode.) |
|
![]() |
Sets the anchor points to which link end points are aligned when links connect to this node. (Inherited from DiagramNode.) |
|
![]() |
Overloaded. (Inherited from DiagramNode.) |
|
![]() |
For internal use. (Inherited from DiagramNode.) |
|
![]() |
Sets the brush used to fill the item's interior. (Inherited from DiagramItem.) |
|
![]() |
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. (Inherited from DiagramNode.) |
|
![]() |
Sets an SvgContent instance representing the SVG drawing rendered in this node. |
|
![]() |
Sets the alignment of the SvgContent displayed in this node. |
|
![]() |
Sets a value indicating what type of custom drawing to perform on a node. (Inherited from ShapeNode.) |
|
![]() |
Implements InplaceEditable.setEditedText. Assigns the edited text to this node after in-place edit operation completes successfully. (Inherited from ShapeNode.) |
|
![]() |
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. (Inherited from DiagramNode.) |
|
![]() |
Sets a value indicating whether the text of a node contains formatting tags which should be processed by JDiagram. (Inherited from ShapeNode.) |
|
![]() |
Sets a value indicating whether users are allowed to expand or collapse the tree branch that starts from this node. (Inherited from DiagramNode.) |
|
![]() |
Expands or collapses the tree branch that starts from a node. (Inherited from DiagramNode.) |
|
![]() |
Changes the "expanded" flag without actually expanding or collapsing the tree branch that starts from a node. (Inherited from DiagramNode.) |
|
![]() |
Sets a value indicating whether the node's shape is flipped horizontally. (Inherited from ShapeNode.) |
|
![]() |
Sets a value indicating whether the node's shape is flipped vertically. (Inherited from ShapeNode.) |
|
![]() |
Sets the font used to draw the text label of a node. (Inherited from ShapeNode.) |
|
![]() |
Sets a value indicating how the node adjustment handles behave and what do they look like. (Inherited from DiagramNode.) |
|
![]() |
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 the image that should be displayed inside the node. (Inherited from ShapeNode.) |
|
![]() |
Sets the alignment of the node's image. (Inherited from ShapeNode.) |
|
![]() |
Sets the padding distance between node's borders and Image. (Inherited from ShapeNode.) |
|
![]() |
Sets a URL used to load an image into this cell. (Inherited from ShapeNode.) |
|
![]() |
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 a value indicating whether the link routing algorithm should consider this node an obstacle. (Inherited from DiagramNode.) |
|
![]() |
Sets the opacity of this item. (Inherited from DiagramItem.) |
|
![]() |
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 the image displayed inside a node should rotate together with the node. (Inherited from ShapeNode.) |
|
![]() |
Sets a value indicating whether the text displayed inside a node should rotate together with the node. (Inherited from ShapeNode.) |
|
![]() |
Sets the rotation angle of a node. (Inherited from DiagramNode.) |
|
![]() |
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 node to the specified Shape instance. The initial shape of a node is the one set by the setDefaultShape method. (Inherited from ShapeNode.) |
|
![]() |
Sets an orientation angle applied to the shape definition before the shape points are mapped to the node's bounding rectangle. (Inherited from ShapeNode.) |
|
![]() |
Sets the style associated with the item. (Inherited from DiagramItem.) |
|
![]() |
Sets a URL used to load an SVG file into this node. |
|
![]() |
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 label displayed inside this node. (Inherited from ShapeNode.) |
|
![]() |
Sets the brush used to paint texts inside the item. (Inherited from DiagramItem.) |
|
![]() |
Sets a TextFormat object specifying how to format and align the text of this node. (Inherited from ShapeNode.) |
|
![]() |
Sets the spacing between the item boundaries and its text. (Inherited from DiagramItem.) |
|
![]() |
Sets the tooltip text that should be displayed when the pointer rests over this item. (Inherited from DiagramItem.) |
|
![]() |
Sets a value indicating whether only the text and image of a node should be drawn on the screen. (Inherited from ShapeNode.) |
|
![]() |
Sets a value indicating whether an item is visible. (Inherited from DiagramItem.) |
|
![]() |
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.) |
|
![]() ![]() |
Returns a ShapeNodeBuilder object used to configure and create new ShapeNode instances. (Inherited from ShapeNode.) |
|
![]() ![]() |
Returns an SvgNodeBuilder object used to configure and create new SvgNode instances. |
|
![]() |
Serializes the object to the specified writer. |
|
![]() |
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. (Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from ShapeNode.) |
|
![]() |
DiagramItem.completeCreate override. (Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from ShapeNode.) |
|
![]() |
DiagramItem.createProperties override. |
|
![]() |
(Inherited from ShapeNode.) |
|
![]() |
DiagramItem.draw override. (Inherited from DiagramNode.) |
|
![]() |
DiagramNode.drawLocal override. (Inherited from ShapeNode.) |
|
![]() |
DiagramItem.drawShadow override. (Inherited from DiagramNode.) |
|
![]() |
DiagramNode.drawShadowLocal override. (Inherited from ShapeNode.) |
|
![]() |
(Inherited from ShapeNode.) |
|
![]() |
Gets this node's bounding rectangle in local coordinates. (Inherited from DiagramNode.) |
|
![]() |
Gets this node's bounding rectangle in local coordinates. (Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
DiagramItem.getRepaintRect override. (Inherited from ShapeNode.) |
|
![]() |
Gets the effective value of the style property with the specified name. (Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
Loads the node from a JSON object. |
|
![]() |
Loads the node's content from an XML element. |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
DiagramItem.onAdd override. (Inherited from ShapeNode.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
Called when the value of TextPadding changes. (Inherited from ShapeNode.) |
|
![]() |
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. (Inherited from ShapeNode.) |
|
![]() |
Called when the diagram's MeasureUnit changes. (Inherited from DiagramItem.) |
|
![]() |
Called when an item is modified (Inherited from DiagramNode.) |
|
![]() |
Called when an item is removed from a Diagram, either by the user, programmatically or by undo / redo. (Inherited from DiagramNode.) |
|
![]() |
DiagramNode.onRotationAngleChanged override. (Inherited from ShapeNode.) |
|
![]() |
Invoked when the associated style or theme have changed. (Inherited from DiagramItem.) |
|
![]() |
DiagramItem.onStyleFontChanged override. (Inherited from ShapeNode.) |
|
![]() |
(Inherited from ShapeNode.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
Overloaded. (Inherited from DiagramItem.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
DiagramNode.restoreProperties override. |
|
![]() |
(Inherited from ShapeNode.) |
|
![]() |
DiagramNode.saveProperties override. |
|
![]() |
(Inherited from ShapeNode.) |
|
![]() |
Saves the node as a JSON object. |
|
![]() |
Saves the node's content into an XML element. |
|
![]() |
Scales the node's elements by specified amount. (Inherited from DiagramNode.) |
|
![]() |
Marks the diagram as changed. (Inherited from DiagramItem.) |
|
![]() |
Invoked to let a node set the shape of a reflexive link connected to it. (Inherited from DiagramNode.) |
|
![]() |
Determines whether the item is rendered in the current context. (Inherited from DiagramItem.) |
|
![]() |
Determines whether the node should render its anchor points. (Inherited from DiagramNode.) |
|
![]() |
DiagramItem.startCreate override. (Inherited from DiagramNode.) |
|
![]() |
DiagramItem.startModify override. Invoked when the user starts modifying this node interactively. (Inherited from DiagramNode.) |
|
![]() |
DiagramItem.updateCreate override. (Inherited from DiagramNode.) |
|
![]() |
(Inherited from DiagramNode.) |
|
![]() |
(Inherited from ShapeNode.) |