Interface TreeNode

    • Method Detail

      • getChildAt

        TreeNode getChildAt​(int childIndex)
        Return child at position childIndex
        Parameters:
        childIndex -
        Returns:
        Child node
      • getChildCount

        int getChildCount()
        Return number of childs
        Returns:
        Number of childs
      • getIndex

        int getIndex​(TreeNode child)
        Get index for child
        Parameters:
        child - to look for
        Returns:
        Child index or -1
      • getParent

        TreeNode getParent()
        Get parent for child
        Returns:
        Parent or null if root or unknown
      • isLeaf

        boolean isLeaf()
        Return true, if node is a leaf node
        Returns:
        Node is leaf node