Top Description Methods
org.abego.treelayout

public Interface NodeExtentProvider<TreeNode>

Known Direct Implementers
org.abego.treelayout.util.FixedNodeExtentProvider
Type Parameters
<TreeNode>
Type of elements used as nodes in the tree

Provides the extent (width and height) of a tree node.

Also see this overview.

Author
Udo Borkowski ([email protected])

Method Summary

Modifier and TypeMethod and Description
public double

Returns:

[result >= 0]
getHeight
(TreeNode
 
treeNode
)

Returns the height of the given treeNode.

public double

Returns:

[result >= 0]
getWidth
(TreeNode
 
treeNode
)

Returns the width of the given treeNode.

Method Detail

getHeightback to summary
public double getHeight(TreeNode treeNode)

Returns the height of the given treeNode.

Parameters
treeNode:TreeNode

 

Returns:double

[result >= 0]

getWidthback to summary
public double getWidth(TreeNode treeNode)

Returns the width of the given treeNode.

Parameters
treeNode:TreeNode

 

Returns:double

[result >= 0]