Interface ITreeNode

    • Method Detail

      • dispose

        void dispose()
        Called when the node is removed or the tree is closed.
      • getId

        java.lang.Object getId()
        Get the id used for lookup.
      • getParent

        ITreeNode getParent()
        Get the parent node.
      • getChildCount

        int getChildCount()
        Get the child count.
      • getChild

        ITreeNode getChild​(int index)
        Get the given child.
      • getIndexOfChild

        int getIndexOfChild​(ITreeNode child)
        Get the index of a child.
      • isLeaf

        boolean isLeaf()
        Check if the node is a leaf.
      • getIcon

        byte[] getIcon()
        Get the icon for a node.
      • getTooltipText

        java.lang.String getTooltipText()
        Get the tooltip text.
      • refresh

        void refresh​(boolean recurse)
        Refresh the node.
        Parameters:
        recurse - Recursively refresh subnodes, if true.
      • getCachedChildren

        java.util.List<ITreeNode> getCachedChildren()
        Get the cached children, i.e. do not start any background processes for updating the children.
      • getChildren

        IFuture<java.util.List<ITreeNode>> getChildren()
        Get the current children, i.e. start a new update process and provide the result as a future.
      • hasProperties

        boolean hasProperties()
        True, if the node has properties that can be displayed.