public class CascadeLayoutBuilder
extends java.lang.Object
Constructor and Description |
---|
CascadeLayoutBuilder()
Initializes a new instance of the CascadeLayoutBuilder class.
|
CascadeLayoutBuilder(CascadeLayout instance)
Initializes a new instance of the CascadeLayoutBuilder class.
|
Modifier and Type | Method and Description |
---|---|
CascadeLayoutBuilder |
anchoring(Anchoring value)
Sets how to align links to the anchor points of nodes.
|
CascadeLayout |
create()
Creates a new object with the attributes accumulated by this builder.
|
CascadeLayout |
get()
Returns an existing object passed for initialization to this builder.
|
CascadeLayoutBuilder |
growToFit(boolean value)
Sets a value indicating whether the layout should increase
the diagram bounds to fit the arranged content.
|
CascadeLayoutBuilder |
keepGroupLayout(boolean value)
Sets a value indicating whether to treat each Group
of nodes as a single vertex in the arranged graph.
|
CascadeLayoutBuilder |
layoutLink(LayoutLink value)
Sets an object, which is notified when the position of a link is changed by the layout.
|
CascadeLayoutBuilder |
layoutNode(LayoutNode value)
Sets an object, which is notified when the
position of a node is changed by the layout.
|
CascadeLayoutBuilder |
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.
|
CascadeLayoutBuilder |
multipleGraphsPlacement(MultipleGraphsPlacement value)
Sets a value indicating how multiple independent graphs
in the diagram should be positioned relatively to each other.
|
CascadeLayoutBuilder |
orientation(com.mindfusion.common.Orientation value)
Sets a the orientation of the arranged graph.
|
CascadeLayoutBuilder |
padding(float value)
Sets the spacing between nodes in adjacent layers.
|
CascadeLayoutBuilder |
progress(LayoutProgress value)
Sets the progress callback delegate.
|
public CascadeLayoutBuilder()
public CascadeLayoutBuilder(CascadeLayout instance)
public CascadeLayoutBuilder anchoring(Anchoring value)
public CascadeLayoutBuilder growToFit(boolean value)
public CascadeLayoutBuilder keepGroupLayout(boolean value)
public CascadeLayoutBuilder layoutLink(LayoutLink value)
public CascadeLayoutBuilder layoutNode(LayoutNode value)
public CascadeLayoutBuilder margins(XDimension2D.Double value)
public CascadeLayoutBuilder multipleGraphsPlacement(MultipleGraphsPlacement value)
public CascadeLayoutBuilder orientation(com.mindfusion.common.Orientation value)
value
- A member of the Orientation
enumeration.public CascadeLayoutBuilder padding(float value)
public CascadeLayoutBuilder progress(LayoutProgress value)
public CascadeLayout create()
public CascadeLayout get()