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