Interface NodeExtentProvider<TreeNode>
- Type Parameters:
TreeNode
- Type of elements used as nodes in the tree
- All Known Implementing Classes:
FixedNodeExtentProvider
public interface NodeExtentProvider<TreeNode>
Provides the extent (width and height) of a tree node.
Also see this overview.
-
Method Summary
-
Method Details
-
getWidth
Returns the width of the given treeNode.- Parameters:
treeNode
-- Returns:
- [result >= 0]
-
getHeight
Returns the height of the given treeNode.- Parameters:
treeNode
-- Returns:
- [result >= 0]
-