Interface Layout.Node
-
- All Known Implementing Classes:
AbstractLayout3DPC.AbstractNode
,CompactCircularMSTLayout3DPC.Node
,MultidimensionalScalingMSTLayout3DPC.Node
,SimpleCircularMSTLayout3DPC.Node
- Enclosing class:
- Layout
public static interface Layout.Node
Node of the layout tree.- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Layout.Node
getChild(int off)
Get a child node.int
getDim()
Get the dimension represented by this node.double
getX()
Get layout X position.double
getY()
Get layout Y position.int
numChildren()
Get the number of children.
-
-
-
Method Detail
-
getDim
int getDim()
Get the dimension represented by this node.- Returns:
- Dimension
-
getX
double getX()
Get layout X position.- Returns:
- X position
-
getY
double getY()
Get layout Y position.- Returns:
- Y position
-
getChild
Layout.Node getChild(int off)
Get a child node.- Parameters:
off
- offset- Returns:
- Child node.
-
numChildren
int numChildren()
Get the number of children.- Returns:
- Number of children
-
-