public class BasicTreeUI.NodeDimensionsHandler extends AbstractLayoutCache.NodeDimensions
| Constructor and Description |
|---|
BasicTreeUI.NodeDimensionsHandler()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
getNodeDimensions(Object cell,
int row,
int depth,
boolean expanded,
Rectangle size)
Returns, by reference in bounds, the size and x origin to place value at.
|
protected int |
getRowX(int row,
int depth)
Returns the amount to indent the given row
|
public BasicTreeUI.NodeDimensionsHandler()
public Rectangle getNodeDimensions(Object cell, int row, int depth, boolean expanded, Rectangle size)
getNodeDimensions in class AbstractLayoutCache.NodeDimensionscell - the value to be representedrow - row being querieddepth - the depth of the rowexpanded - true if row is expandedsize - a Rectangle containing the size needed to represent valueprotected int getRowX(int row, int depth)