com.jgraph.layout.tree
protected class JGraphAbstractTreeLayout.TreeNode extends Object
Field Summary | |
---|---|
protected Object | cell
The graph cell this node corresponds to |
protected double | height
The height of this node |
protected double | width
The width of this node |
protected double | x
The position location of this node |
protected double | y |
Constructor Summary | |
---|---|
TreeNode(Object cell)
Creates tree node corresponding to the specified cell
|
Method Summary | |
---|---|
double | getWidth() |
protected void | routeEdges(Point2D parent)
Routes edges between level so the edge descends halfway down to the
next level of cells, moves across to above the cell and then descends
to join the cell
|
void | setWidth(double width) |
Parameters: cell the cell this tree node corresponds to
Returns: the width
Parameters: width the width to set