public class BasicTreeUI.NodeDimensionsHandler extends javax.swing.tree.AbstractLayoutCache.NodeDimensions
| Constructor and Description |
|---|
BasicTreeUI.NodeDimensionsHandler()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.Rectangle |
getNodeDimensions(java.lang.Object cell,
int row,
int depth,
boolean expanded,
java.awt.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 java.awt.Rectangle getNodeDimensions(java.lang.Object cell, int row, int depth, boolean expanded, java.awt.Rectangle size)
getNodeDimensions in class javax.swing.tree.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)