public class BasicTreeUI.NodeDimensionsHandler extends AbstractLayoutCache.NodeDimensions
| Constructor and Description |
|---|
NodeDimensionsHandler()
|
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
getNodeDimensions(Object
Responsible for getting the size of a particular node.
|
protected int |
getRowX(int row, int depth)
|
public RectanglegetNodeDimensions(Object value, int row, int depth, boolean expanded, Rectangle size)
getNodeDimensions in class
AbstractLayoutCache.NodeDimensions
value - the
value to be represented
row - row being queried
depth - the depth of the row
expanded - true if row is expanded, false otherwise
size - a
Rectangle containing the size needed to represent
value
Rectangle containing the node dimensions, or
null if node has no dimension
protected int getRowX(int row,
int depth)