T - public class FixedNodeExtentProvider<T> extends Object implements NodeExtentProvider<T>
NodeExtentProvider returning the same width and height for each
node.| Constructor and Description |
|---|
FixedNodeExtentProvider()
|
FixedNodeExtentProvider(double width,
double height)
Specifies the constants to be used as the width and height of the nodes.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getHeight(T treeNode)
Returns the height of the given treeNode.
|
double |
getWidth(T treeNode)
Returns the width of the given treeNode.
|
public FixedNodeExtentProvider(double width,
double height)
width - [default=0]height - [default=0]public FixedNodeExtentProvider()
public double getWidth(T treeNode)
NodeExtentProvidergetWidth in interface NodeExtentProvider<T>public double getHeight(T treeNode)
NodeExtentProvidergetHeight in interface NodeExtentProvider<T>Copyright © 2015. All rights reserved.