|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.abego.treelayout.util.FixedNodeExtentProvider<T>
T - public class FixedNodeExtentProvider<T>
A NodeExtentProvider returning the same width and height for each
node.
| Constructor Summary | |
|---|---|
FixedNodeExtentProvider()
see FixedNodeExtentProvider(double, double) |
|
FixedNodeExtentProvider(double width,
double height)
Specifies the constants to be used as the width and height of the nodes. |
|
| Method Summary | |
|---|---|
double |
getHeight(T treeNode)
Returns the height of the given treeNode. |
double |
getWidth(T treeNode)
Returns the width of the given treeNode. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FixedNodeExtentProvider(double width,
double height)
width - [default=0]height - [default=0]public FixedNodeExtentProvider()
FixedNodeExtentProvider(double, double)
| Method Detail |
|---|
public double getWidth(T treeNode)
NodeExtentProvider
getWidth in interface NodeExtentProvider<T>public double getHeight(T treeNode)
NodeExtentProvider
getHeight in interface NodeExtentProvider<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||