|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.tree.AbstractLayoutCache.NodeDimensions
javax.swing.plaf.basic.BasicTreeUI.NodeDimensionsHandler
public class BasicTreeUI.NodeDimensionsHandler
Class responsible for getting size of node, method is forwarded to BasicTreeUI method. X location does not include insets, that is handled in getPathBounds.
Constructor Summary | |
---|---|
BasicTreeUI.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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicTreeUI.NodeDimensionsHandler()
Method Detail |
---|
public Rectangle getNodeDimensions(Object cell, int row, int depth, boolean expanded, Rectangle size)
getNodeDimensions
in class AbstractLayoutCache.NodeDimensions
cell
- 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 value
protected int getRowX(int row, int depth)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |