javax.swing.plaf.basic
public class BasicTreeUI.NodeDimensionsHandler extends AbstractLayoutCache.NodeDimensions
Constructor Summary | |
---|---|
NodeDimensionsHandler()
Constructor |
Method Summary | |
---|---|
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
|
Parameters: cell the value to be represented row row being queried depth the depth of the row expanded true if row is expanded size a Rectangle containing the size needed to represent value
Returns: containing the node dimensions, or null if node has no dimension
Returns: amount to indent the given row.