Class LazyMutableTreeNode

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

    public abstract class LazyMutableTreeNode
    extends javax.swing.tree.DefaultMutableTreeNode
    LazyMutableTreeNode.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean _loaded  
      • Fields inherited from class javax.swing.tree.DefaultMutableTreeNode

        allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()  
      int getChildCount()  
      protected abstract void initChildren()  
      boolean isLoaded()  
      • Methods inherited from class javax.swing.tree.DefaultMutableTreeNode

        add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • _loaded

        protected boolean _loaded
    • Constructor Detail

      • LazyMutableTreeNode

        public LazyMutableTreeNode()
      • LazyMutableTreeNode

        public LazyMutableTreeNode​(java.lang.Object userObject)
      • LazyMutableTreeNode

        public LazyMutableTreeNode​(java.lang.Object userObject,
                                   boolean allowsChildren)
    • Method Detail

      • getChildCount

        public int getChildCount()
        Specified by:
        getChildCount in interface javax.swing.tree.TreeNode
        Overrides:
        getChildCount in class javax.swing.tree.DefaultMutableTreeNode
      • clear

        public void clear()
      • isLoaded

        public boolean isLoaded()
      • initChildren

        protected abstract void initChildren()