Interface NodeExtentProvider<TreeNode>

  • Type Parameters:
    TreeNode -

    Adapted from https://code.google.com/p/treelayout/ to be available to GWT clients


    public interface NodeExtentProvider<TreeNode>
    Provides the extent (width and height) of a tree node.

    Also see this overview.

    • Method Detail

      • getWidth

        double getWidth​(TreeNode treeNode)
        Returns the width of the given treeNode.
        Parameters:
        treeNode -
        Returns:
        [result >= 0]
      • getHeight

        double getHeight​(TreeNode treeNode)
        Returns the height of the given treeNode.
        Parameters:
        treeNode -
        Returns:
        [result >= 0]