protected class JGraphAbstractTreeLayout.TreeNode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.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 and Description |
---|
TreeNode(java.lang.Object cell)
Creates tree node corresponding to the specified cell
|
Modifier and Type | Method and Description |
---|---|
double |
getWidth() |
protected void |
routeEdges(java.awt.geom.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) |
protected double width
protected double height
protected double x
protected double y
protected java.lang.Object cell
public TreeNode(java.lang.Object cell)
cell
- the cell this tree node corresponds toprotected void routeEdges(java.awt.geom.Point2D parent)
public double getWidth()
public void setWidth(double width)
width
- the width to setCopyright (C) 2001-2009 JGraph Ltd. All rights reserved.