Package com.jidesoft.plaf.basic
Class LazyMutableTreeNode
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- com.jidesoft.plaf.basic.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
-
Constructor Summary
Constructors Constructor Description LazyMutableTreeNode()
LazyMutableTreeNode(java.lang.Object userObject)
LazyMutableTreeNode(java.lang.Object userObject, boolean allowsChildren)
-
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
-
-
-
-
Method Detail
-
getChildCount
public int getChildCount()
- Specified by:
getChildCount
in interfacejavax.swing.tree.TreeNode
- Overrides:
getChildCount
in classjavax.swing.tree.DefaultMutableTreeNode
-
clear
public void clear()
-
isLoaded
public boolean isLoaded()
-
initChildren
protected abstract void initChildren()
-
-