public class TreeMapLayoutBuilder
extends java.lang.Object
Constructor and Description |
---|
TreeMapLayoutBuilder()
Initializes a new instance of the TreeMapLayoutBuilder class.
|
TreeMapLayoutBuilder(TreeMapLayout instance)
Initializes a new instance of the TreeMapLayoutBuilder class.
|
Modifier and Type | Method and Description |
---|---|
TreeMapLayoutBuilder |
anchoring(Anchoring value)
Sets how to align links to the anchor points of nodes.
|
TreeMapLayoutBuilder |
containerPadding(float value)
Sets the padding inside containers.
|
TreeMapLayout |
create()
Creates a new object with the attributes accumulated by this builder.
|
TreeMapLayout |
get()
Returns an existing object passed for initialization to this builder.
|
TreeMapLayoutBuilder |
growToFit(boolean value)
Sets a value indicating whether the layout should increase
the diagram bounds to fit the arranged content.
|
TreeMapLayoutBuilder |
keepGroupLayout(boolean value)
Sets a value indicating whether to treat each Group
of nodes as a single vertex in the arranged graph.
|
TreeMapLayoutBuilder |
layoutArea(java.awt.geom.Rectangle2D.Float value)
Sets the rectangle in which the layout will try to arrange the nodes,
or null, to use the diagram bounds.
|
TreeMapLayoutBuilder |
layoutLink(LayoutLink value)
Sets an object, which is notified when the
position of a link is changed by the layout.
|
TreeMapLayoutBuilder |
layoutNode(LayoutNode value)
Sets an object, which is notified when the
position of a node is changed by the layout.
|
TreeMapLayoutBuilder |
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.
|
TreeMapLayoutBuilder |
multipleGraphsPlacement(MultipleGraphsPlacement value)
Sets a value indicating how multiple independent graphs
in the diagram should be positioned relatively to each other.
|
TreeMapLayoutBuilder |
orientation(com.mindfusion.common.Orientation value)
Sets the orientation of the arranged diagram.
|
TreeMapLayoutBuilder |
padding(float value)
Sets the distance between adjacent nodes.
|
TreeMapLayoutBuilder |
progress(LayoutProgress value)
Sets the progress callback delegate.
|
TreeMapLayoutBuilder |
squarify(boolean value)
Sets a value indicating whether the layout should attempt to
keep the dimension ratio of the nodes closer to 1.
|
public TreeMapLayoutBuilder()
public TreeMapLayoutBuilder(TreeMapLayout instance)
public TreeMapLayoutBuilder anchoring(Anchoring value)
public TreeMapLayoutBuilder containerPadding(float value)
public TreeMapLayoutBuilder growToFit(boolean value)
public TreeMapLayoutBuilder keepGroupLayout(boolean value)
public TreeMapLayoutBuilder layoutArea(java.awt.geom.Rectangle2D.Float value)
public TreeMapLayoutBuilder layoutLink(LayoutLink value)
public TreeMapLayoutBuilder layoutNode(LayoutNode value)
public TreeMapLayoutBuilder margins(XDimension2D.Double value)
public TreeMapLayoutBuilder multipleGraphsPlacement(MultipleGraphsPlacement value)
public TreeMapLayoutBuilder orientation(com.mindfusion.common.Orientation value)
value
- A member of the Orientation
enumeration.
The default is Vertical
.public TreeMapLayoutBuilder padding(float value)
value
- A real number specifying the distance between adjacent nodes.public TreeMapLayoutBuilder progress(LayoutProgress value)
public TreeMapLayoutBuilder squarify(boolean value)
public TreeMapLayout create()
public TreeMapLayout get()