interface org.aswing.tree.NodeDimensions

Used by AbstractLayoutCache to determine the size and x origin of a particular node. @author paling

Instance Fields

function countNodeDimensions(value:Dynamic, row:Int, depth:Int, expanded:Bool, bounds:IntRectangle): IntRectangle

Returns, by reference in bounds, the size and x origin to place value at. The calling method is responsible for determining the Y location. If bounds is null, a newly created IntRectangle should be returned, otherwise the value should be placed in bounds and returned.

@param depth the depth of the row @return a IntRectangle containing the node dimensions,

or <code>null</code> if node has no dimension
value

the value to be represented

row

row being queried *

expanded

true if row is expanded, false otherwise

bounds

a IntRectangle containing the size needed to represent value *