public class BalloonLayoutData extends LayoutData
BalloonLayout.| Constructor and Description |
|---|
BalloonLayoutData() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(LayoutGraphAdapter adapter,
ILayoutAlgorithm layout,
CopiedLayoutGraph layoutGraph)
Applies this layout data to the specified
layoutGraphAdapter. |
AbortHandler |
getAbortHandler()
Gets the AbortHandler used during the layout.
|
ItemCollection<INode> |
getInterleavedNodes()
Gets the collection of nodes that should be arranged in an interleaved fashion.
|
ItemMapping<INode,NodeHalo> |
getNodeHalos()
Gets the mapping from nodes to their
NodeHalo. |
ItemMapping<INode,Boolean> |
getTreeRoot()
Gets the mapping for marking the node that will be used as root node of the tree.
|
void |
setAbortHandler(AbortHandler value)
Sets the AbortHandler used during the layout.
|
void |
setInterleavedNodes(ItemCollection<INode> value)
Sets the collection of nodes that should be arranged in an interleaved fashion.
|
void |
setNodeHalos(ItemMapping<INode,NodeHalo> value)
Sets the mapping from nodes to their
NodeHalo. |
void |
setTreeRoot(ItemMapping<INode,Boolean> value)
Sets the mapping for marking the node that will be used as root node of the tree.
|
public void apply(LayoutGraphAdapter adapter, ILayoutAlgorithm layout, CopiedLayoutGraph layoutGraph)
LayoutDatalayoutGraphAdapter.apply in class LayoutDataadapter - The adapter to add the layout data to.layout - The layout that shall use this layout data.layoutGraph - The layout graph used for the layout calculation.public final AbortHandler getAbortHandler()
AbortHandler.ABORT_HANDLER_DPKEY,
setAbortHandler(AbortHandler)public final ItemCollection<INode> getInterleavedNodes()
BalloonLayout.INTERLEAVED_NODES_DPKEY,
setInterleavedNodes(ItemCollection)public final ItemMapping<INode,NodeHalo> getNodeHalos()
NodeHalo.NodeHalo.NODE_HALO_DPKEY,
setNodeHalos(ItemMapping)public final ItemMapping<INode,Boolean> getTreeRoot()
The custom root node selection induced by this property is only considered if the root node policy
is set to RootNodePolicy.SELECTED_ROOT.
BalloonLayout.SELECTED_ROOT_DPKEY,
setTreeRoot(ItemMapping)public final void setAbortHandler(AbortHandler value)
value - The AbortHandler to set.AbortHandler.ABORT_HANDLER_DPKEY,
getAbortHandler()public final void setInterleavedNodes(ItemCollection<INode> value)
value - The InterleavedNodes to set.BalloonLayout.INTERLEAVED_NODES_DPKEY,
getInterleavedNodes()public final void setNodeHalos(ItemMapping<INode,NodeHalo> value)
NodeHalo.value - The NodeHalos to set.NodeHalo.NODE_HALO_DPKEY,
getNodeHalos()public final void setTreeRoot(ItemMapping<INode,Boolean> value)
The custom root node selection induced by this property is only considered if the root node policy
is set to RootNodePolicy.SELECTED_ROOT.
value - The TreeRoot to set.BalloonLayout.SELECTED_ROOT_DPKEY,
getTreeRoot()