public class FamilyTreeLayoutData extends LayoutData
FamilyTreeLayout
.Constructor and Description |
---|
FamilyTreeLayoutData() |
Modifier and Type | Method and Description |
---|---|
void |
apply(LayoutGraphAdapter adapter,
ILayoutAlgorithm layout,
CopiedLayoutGraph layoutGraph)
Applies this layout data to the specified
layoutGraphAdapter . |
ItemMapping<INode,FamilyType> |
getFamilyTypes()
Gets the mapping from nodes to their family type.
|
void |
setFamilyTypes(ItemMapping<INode,FamilyType> value)
Sets the mapping from nodes to their family type.
|
public void apply(LayoutGraphAdapter adapter, ILayoutAlgorithm layout, CopiedLayoutGraph layoutGraph)
LayoutData
layoutGraphAdapter
.apply
in class LayoutData
adapter
- 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 ItemMapping<INode,FamilyType> getFamilyTypes()
FamilyTreeLayout.FAMILY_TYPE_DPKEY
,
FamilyType
,
setFamilyTypes(ItemMapping)
public final void setFamilyTypes(ItemMapping<INode,FamilyType> value)
value
- The FamilyTypes to set.FamilyTreeLayout.FAMILY_TYPE_DPKEY
,
FamilyType
,
getFamilyTypes()