Interface MutableTreeNode

  • All Superinterfaces:
    TreeNode

    public interface MutableTreeNode
    extends TreeNode
    Reimplementation of java.swing.MutableTreeNode removing some signature and inefficencies
    Author:
    Andreas Schwier (info@cardcontact.de)
    • Method Detail

      • insert

        void insert​(TreeNode child,
                    int index)
        Insert a tree node into a mutable tree node at given index
        Parameters:
        child - Child to insert
        index - Index at which to insert the child
      • remove

        void remove​(int index)
        Remove child from mutable tree node
        Parameters:
        index - Index of child to be removed
      • setParent

        void setParent​(MutableTreeNode parent)
        Set the parent for a mutable tree node
        Parameters:
        parent -