Package org.abego.treelayout
Interface NodeExtentProvider<TreeNode>
-
- Type Parameters:
TreeNode
- Type of elements used as nodes in the tree
- All Known Implementing Classes:
FixedNodeExtentProvider
,TextInBoxNodeExtentProvider
public interface NodeExtentProvider<TreeNode>
Provides the extent (width and height) of a tree node.Also see this overview.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getHeight(TreeNode treeNode)
Returns the height of the given treeNode.double
getWidth(TreeNode treeNode)
Returns the width of the given treeNode.
-