Class AbstractBrowseNode

    • Constructor Detail

      • AbstractBrowseNode

        protected AbstractBrowseNode​(NodeBrowseInfo info)
    • Method Detail

      • 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
      • executeChildrenBrowse

        protected abstract java.util.List<BrowseTreeNode> executeChildrenBrowse()
                                                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • logLoaded

        protected void logLoaded()
      • loadError

        protected void loadError​(java.lang.Exception ex)
      • loadChildrenAsync

        protected void loadChildrenAsync​(boolean force)
      • loadChildrenWithStatus

        protected void loadChildrenWithStatus​(boolean force,
                                              boolean synchronous)
      • children

        public java.util.Enumeration children()
        Specified by:
        children 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
      • 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
      • isLeaf

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

        public boolean getAllowsChildren()
        Specified by:
        getAllowsChildren in interface javax.swing.tree.TreeNode
      • 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
      • 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
      • reloadSynchronous

        public void reloadSynchronous()
      • fireNodeChanged

        protected void fireNodeChanged()
        Fires a heavyweight changethrough treeModel.reload()
      • fireLightweightChange

        protected void fireLightweightChange()
        Fires a lightweight change through treeModel.nodesChanged()
      • 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
      • notifyVisibilityChange

        protected void notifyVisibilityChange()
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • 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