A class used to initialize Diagram objects.
The following tables list the members exposed by the DiagramBuilder type.
Name | Description | |
---|---|---|
![]() |
Overloaded. |
Name | Description | |
---|---|---|
![]() |
Sets the active item. |
|
![]() |
Sets the zero-based index of the active layer. |
|
![]() |
Sets the size of selection handles. |
|
![]() |
Sets the pen used to draw alignment guides. |
|
![]() |
Sets a value indicating whether items should be aligned to the alignment grid while users draw them with the mouse. |
|
![]() |
Sets a value indicating whether users are allowed to draw more than one links between the same nodes. |
|
![]() |
Sets whether multiple selected nodes can be resized simultaneously. |
|
![]() |
Sets whether users are allowed to draw reflexive links. |
|
![]() |
Sets whether link segments can be added and removed interactively. |
|
![]() |
Sets a value indicating whether users are allowed to attach links to nodes that do not have any anchor points. |
|
![]() |
Sets a value indicating whether users are allowed to draw unconnected links. |
|
![]() |
Sets the maximal horizontal or vertical distance at which a node aligns to the borders of other nodes. |
|
![]() |
Sets whether nodes should automatically align to the borders of other nodes during user interaction. |
|
![]() |
Sets the maximum distance between first and last points of a FreeFormNode for which the node's outline is closed automatically. |
|
![]() |
Sets a value specifying whether the document scrollable area should be resized automatically when users draw items near the edges of the diagram. |
|
![]() |
Specifies the maximum distance at which links auto-snap to nodes. |
|
![]() |
Sets the default value for the AutoSnapToNode property of new links. |
|
![]() |
Overloaded. |
|
![]() |
Sets the background image. The imageUrl property is reset to null. |
|
![]() |
Sets how the background image should be positioned relatively to the scrollable area of the diagram. |
|
![]() |
Sets the URL of the background image. Default applet security allows only images on the same server. URL may be relative to the document base for applets or current dir for applications. |
|
![]() |
Sets the bounds of the scrollable area of the diagram. |
|
![]() |
Sets the pen with which document bounds are drawn. |
|
![]() |
Sets the default style of the cell frames of new tables. |
|
![]() |
Sets the default value for the Caption property of containers. |
|
![]() |
Sets the default value for the CaptionHeight property of containers. |
|
![]() |
Sets the default value for the HighlightPen property of containers. |
|
![]() |
Sets the default value for the Margin property of containers. |
|
![]() |
Sets the default value for the MinimumSize property of containers. |
|
![]() |
Sets the default value for the Foldable property of containers. |
|
![]() |
Creates a new object with the attributes accumulated by this builder. |
|
![]() |
Sets the radius of the shapes drawn at link crossing points. |
|
![]() |
Sets the type of components that will be hosted by default in newly created ControlNode objects. |
|
![]() |
Sets the default shape that should be assigned to new nodes. The shape of individual nodes can be set by calling their ShapeNode.setShape method. |
|
![]() |
Lets you set or clear the diagram's modification flag. |
|
![]() |
Sets a value indicating whether links should automatically update their end points positions so that they will always point towards the node centers. |
|
![]() |
Sets whether lanes are enabled. |
|
![]() |
Sets a value indicating whether newly created nodes should display richly formatted text. |
|
![]() |
Sets what should happen when a user clicks the +/- button that is displayed near expandable nodes. |
|
![]() |
Sets where expand/collapse buttons are located relatively to their nodes. |
|
![]() |
Sets which direction of links is considered the tree direction when expanding or collapsing diagram branches. |
|
![]() |
Sets the size of folded containers. |
|
![]() |
Overloaded. |
|
![]() |
Sets the radius around dragged free-form adjustment handle in which other points of FreeFormNode are modified too. |
|
![]() |
Sets an array of Shape objects used to replace FreeFormNode instances with ShapeNode ones when Behavior is set to LinkFreeShapes or DrawFreeShapes. |
|
![]() |
Returns an existing object passed for initialization to this builder. |
|
![]() |
Sets the color of the alignment grid. |
|
![]() |
Sets the horizontal offset of the first point of the alignment grid. |
|
![]() |
Sets the vertical offset of the first point of the alignment grid. |
|
![]() |
Sets the horizontal distance between grid points. |
|
![]() |
Sets the vertical distance between grid points. |
|
![]() |
Sets the appearance style of the alignment grid. |
|
![]() |
Sets a value indicating the order in which items are hit-tested. |
|
![]() |
|
|
![]() |
|
|
![]() |
Sets what shape should be displayed at the origin of new links. |
|
![]() |
Sets the default size of the shape displayed at the origin of new links. |
|
![]() |
Overloaded. |
|
![]() |
Sets the default orientation of the first segments of cascading links. |
|
![]() |
Sets what shapes should be drawn at the points where links cross. |
|
![]() |
Sets the default type of custom painting done on links. |
|
![]() |
Sets a value indicating users are allowed to move the end points of a link after the link is created. |
|
![]() |
Sets the style of selection handles that should be assigned to new links. |
|
![]() |
Sets what shape should be displayed as arrowhead of new links. |
|
![]() |
Sets the default size of the shape displayed as arrowhead of new links. |
|
![]() |
Sets what shape should be displayed at the middle of links segments. |
|
![]() |
Sets the default size of the shape displayed at the middle of links segments. |
|
![]() |
Sets the default pen that should be assigned to new links. |
|
![]() |
Sets the component used to find paths for auto-routed links when diagram nodes are added or their positions change. |
|
![]() |
Sets the style that should be assigned to new links. |
|
![]() |
Sets a value indicating whether new links are set to maintain their shapes while the nodes they connect are moved around. |
|
![]() |
Sets the default text that should be assigned to new links. |
|
![]() |
Sets the default placement and orientation of the links labels. |
|
![]() |
Sets in what units JDiagram should measure lengths and sizes. |
|
![]() |
Sets the maximum distance between adjacent control points of a link at which the respective segments can be merged. |
|
![]() |
Sets whether the tree branches that start from new nodes should be expandable by default. |
|
![]() |
Sets whether tree branches should be expanded recursively. |
|
![]() |
Sets a value indicating whether users are allowed to move items outside the currently define document bounds. |
|
![]() |
Sets if the joins between segments of Polyline and Cascading links should be rounded. |
|
![]() |
Sets the radius of arc joins of rounded links' segments. |
|
![]() |
Sets a value indicating whether newly created links will automatically find their way between nodes. |
|
![]() |
Sets a value indicating whether newly created items should be selected automatically. |
|
![]() |
Sets a value indicating whether selected items should be drawn on top of the non-selected ones. |
|
![]() |
Overloaded. |
|
![]() |
Sets the default horizontal distance between shadows and the items that cast them. |
|
![]() |
Sets the default vertical distance between shadows and the items that cast them. |
|
![]() |
Sets the style of shadows. |
|
![]() |
Overloaded. |
|
![]() |
Sets whether new nodes should be custom drawn and what type of custom drawing will be performed on them. |
|
![]() |
Sets the style of selection handles that should be assigned to new nodes. |
|
![]() |
Sets the default shape definition orientation angle assigned to new nodes. |
|
![]() |
Sets the default pen that should be assigned to new nodes. |
|
![]() |
Sets the default text that should be assigned to new nodes. |
|
![]() |
Sets a value indicating whether anchor points should be shown on screen. |
|
![]() |
Sets whether disabled manipulation handles should be displayed. |
|
![]() |
Sets a value indicating whether the alignment grid should be displayed. |
|
![]() |
Sets whether selection handles of objects under the mouse should be displayed while another object is being modified. |
|
![]() |
Sets a value indicating when links should snap to anchor points. |
|
![]() |
Sets the style associated with the diagram. |
|
![]() |
Overloaded. |
|
![]() |
Sets the default caption text that should be assigned to new tables. |
|
![]() |
Sets the default height of the caption area of new tables. |
|
![]() |
Sets how many columns should be allocated to new tables. |
|
![]() |
Sets the default width of columns in newly created tables. |
|
![]() |
Sets how users are allowed to link tables one to another - as integral entities, by rows, or both. |
|
![]() |
Sets the style of selection handles that should be assigned to new tables. |
|
![]() |
Sets the default pen that should be assigned to new tables. |
|
![]() |
Sets how many rows should be allocated to new tables. |
|
![]() |
Sets the default height of rows in newly created tables. |
|
![]() |
Sets the default style of tables. |
|
![]() |
Sets a value indicating whether users are allowed to scroll new tables. |
|
![]() |
Associates a custom data with this diagram. |
|
![]() |
Sets the default text color that should be assigned to new items. |
|
![]() |
Sets the default format and alignment of the text of new items. |
|
![]() |
Sets the theme associated with the diagram. |
|
![]() |
Sets the tooltip text that should be displayed when the mouse hovers over an unoccupied area of the diagram. |