Class LoadingNode

    • Method Detail

      • hasChild

        public boolean hasChild​(java.lang.String name)
        Specified by:
        hasChild in interface BrowseTreeNode
      • getChildAt

        public BrowseTreeNode getChildAt​(int idx)
        Specified by:
        getChildAt in interface javax.swing.tree.TreeNode
      • getTooltipText

        public java.lang.String getTooltipText()
        Description copied from interface: BrowseTreeNode
        Returns the tooltip text for the tree node
        Specified by:
        getTooltipText in interface BrowseTreeNode
      • install

        public void install​(TagTreeModel model,
                            int index)
        Description copied from interface: BrowseTreeNode
        Called then the node is created.
        Specified by:
        install in interface BrowseTreeNode
        index - The index at which this node occurs in its parent
      • isMetaNode

        public boolean isMetaNode()
        Description copied from interface: BrowseTreeNode
        Returns true if this node is a meta node. (Like a loading node). Don't try to use the tag path of a Meta node
        Specified by:
        isMetaNode in interface BrowseTreeNode
      • reload

        public void reload()
        Description copied from interface: BrowseTreeNode
        Will perform a full browse a reload for the children of this node
        Specified by:
        reload in interface BrowseTreeNode
      • maybeBrowseAsync

        public void maybeBrowseAsync()
        Description copied from interface: BrowseTreeNode
        Will perform an async browse and load for the children of this node if they have not already been loaded.
        Specified by:
        maybeBrowseAsync in interface BrowseTreeNode
      • setVisible

        public void setVisible​(boolean visible)
        Description copied from interface: BrowseTreeNode
        Notifies this node if it is currently displayed or not.
        Specified by:
        setVisible in interface BrowseTreeNode
      • children

        public java.util.Enumeration children()
        Specified by:
        children in interface javax.swing.tree.TreeNode
      • getAllowsChildren

        public boolean getAllowsChildren()
        Specified by:
        getAllowsChildren in interface javax.swing.tree.TreeNode
      • getChildCount

        public int getChildCount()
        Specified by:
        getChildCount in interface javax.swing.tree.TreeNode
      • getIndex

        public int getIndex​(javax.swing.tree.TreeNode node)
        Specified by:
        getIndex in interface javax.swing.tree.TreeNode
      • isLeaf

        public boolean isLeaf()
        Specified by:
        isLeaf in interface javax.swing.tree.TreeNode
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getName

        public java.lang.String getName()
        Description copied from interface: BrowseTreeNode
        Returns the name, as it would be represented in a TagPath, of this node
        Specified by:
        getName in interface BrowseTreeNode