Packageorg.aswing.tree
Interfacepublic interface NodeDimensions

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



Public Methods
 MethodDefined by
  
countNodeDimensions(value:*, row:int, depth:int, expanded:Boolean, bounds:IntRectangle):IntRectangle
Returns, by reference in bounds, the size and x origin to place value at.
NodeDimensions
Method detail
countNodeDimensions()method
public function countNodeDimensions(value:*, row:int, depth:int, expanded:Boolean, 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.

Parameters
value:* — the value to be represented
 
row:int — row being queried
 
depth:int — the depth of the row
 
expanded:Boolean — true if row is expanded, false otherwise
 
bounds:IntRectangle — a IntRectangle containing the size needed to represent value

Returns
IntRectangle — a IntRectangle containing the node dimensions, or null if node has no dimension