Interface LayoutUtil.NodeSize
- Enclosing class:
LayoutUtil
public static interface LayoutUtil.NodeSize
Supplies the rendered box size of each node, so a layout can space nodes
by what they actually take up on screen. The GUI supplies display-node
sizes; headless callers use
LayoutUtil.estimatedNodeSize().- Version:
- $Id: $Id
- Author:
- josephramsey
-
Method Summary
-
Method Details
-
width
Returns the width of the rendered box of the specified node in pixels.- Parameters:
node- the node for which the box width is to be determined- Returns:
- the width of the node's box in pixels
-
height
Returns the height of the rendered box of the given node in pixels.- Parameters:
node- the node whose box height is to be determined- Returns:
- the height of the node's box in pixels
-