javax.swing.tree
public abstract static class AbstractLayoutCache.NodeDimensions extends Object
Constructor and Description |
---|
AbstractLayoutCache.NodeDimensions()
Creates
NodeDimensions object. |
Modifier and Type | Method and Description |
---|---|
abstract Rectangle |
getNodeDimensions(Object value,
int row,
int depth,
boolean expanded,
Rectangle bounds)
Get the node dimensions.
|
public AbstractLayoutCache.NodeDimensions()
NodeDimensions
object.public abstract Rectangle getNodeDimensions(Object value, int row, int depth, boolean expanded, Rectangle bounds)
FixedHeightLayoutCache
. If the
method is not overridden and the property is not set, the InternalError is
thrown.value
- the last node in the pathrow
- the node rowdepth
- the indentation depthexpanded
- true if this node is expanded, false otherwisebounds
- the area where the tree is displayed