public class DecisionLayoutBuilder
extends java.lang.Object
Constructor and Description |
---|
DecisionLayoutBuilder()
Initializes a new instance of the DecisionLayoutBuilder class.
|
DecisionLayoutBuilder(DecisionLayout instance)
Initializes a new instance of the DecisionLayoutBuilder class.
|
Modifier and Type | Method and Description |
---|---|
DecisionLayoutBuilder |
anchoring(Anchoring value)
Sets how to align links to the anchor points of nodes.
|
DecisionLayout |
create()
Creates a new object with the attributes accumulated by this builder.
|
DecisionLayout |
get()
Returns an existing object passed for initialization to this builder.
|
DecisionLayoutBuilder |
growToFit(boolean value)
Sets a value indicating whether the layout should increase
the diagram bounds to fit the arranged content.
|
DecisionLayoutBuilder |
horizontalPadding(float value)
Sets the horizontal distance between adjacent nodes.
|
DecisionLayoutBuilder |
keepGroupLayout(boolean value)
Sets a value indicating whether to treat each Group
of nodes as a single vertex in the arranged graph.
|
DecisionLayoutBuilder |
layoutLink(LayoutLink value)
Sets an object, which is notified when the
position of a link is changed by the layout.
|
DecisionLayoutBuilder |
layoutNode(LayoutNode value)
Sets an object, which is notified when the
position of a node is changed by the layout.
|
DecisionLayoutBuilder |
linkPadding(float value)
Sets the distance between parallel links.
|
DecisionLayoutBuilder |
margins(XDimension2D.Double value)
Sets the distance between the top-left corner
of the smallest rectangle containing the arranged diagram
and the top-left point of the document bounds.
|
DecisionLayoutBuilder |
multipleGraphsPlacement(MultipleGraphsPlacement value)
Sets a value indicating how multiple independent graphs
in the diagram should be positioned relatively to each other.
|
DecisionLayoutBuilder |
orientation(com.mindfusion.common.Orientation value)
Sets the orientation of the arranged diagram.
|
DecisionLayoutBuilder |
progress(LayoutProgress value)
Sets the progress callback delegate.
|
DecisionLayoutBuilder |
startNode(DiagramNode value)
Sets the initial (top-left) node in the arranged diagram.
|
DecisionLayoutBuilder |
verticalPadding(float value)
Sets the vertical distance between adjacent nodes.
|
public DecisionLayoutBuilder()
public DecisionLayoutBuilder(DecisionLayout instance)
public DecisionLayoutBuilder anchoring(Anchoring value)
public DecisionLayoutBuilder growToFit(boolean value)
public DecisionLayoutBuilder horizontalPadding(float value)
value
- A real number specifying the distance between adjacent nodes.public DecisionLayoutBuilder keepGroupLayout(boolean value)
public DecisionLayoutBuilder layoutLink(LayoutLink value)
public DecisionLayoutBuilder layoutNode(LayoutNode value)
public DecisionLayoutBuilder linkPadding(float value)
value
- A real number specifying the distance between parallel links.public DecisionLayoutBuilder margins(XDimension2D.Double value)
public DecisionLayoutBuilder multipleGraphsPlacement(MultipleGraphsPlacement value)
public DecisionLayoutBuilder orientation(com.mindfusion.common.Orientation value)
value
- A member of the Orientation
enumeration.public DecisionLayoutBuilder progress(LayoutProgress value)
public DecisionLayoutBuilder startNode(DiagramNode value)
value
- A DiagramNode
object that specifies the initial node.public DecisionLayoutBuilder verticalPadding(float value)
value
- A real number specifying the distance between adjacent nodes.public DecisionLayout create()
public DecisionLayout get()