public abstract class LazyMutableTreeNode extends DefaultMutableTreeNode
Modifier and Type | Field and Description |
---|---|
protected boolean |
_loaded |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
Constructor and Description |
---|
LazyMutableTreeNode() |
LazyMutableTreeNode(Object userObject) |
LazyMutableTreeNode(Object userObject,
boolean allowsChildren) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
getChildCount() |
protected abstract void |
initChildren() |
boolean |
isLoaded() |
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
public LazyMutableTreeNode()
public LazyMutableTreeNode(Object userObject)
public LazyMutableTreeNode(Object userObject, boolean allowsChildren)
public int getChildCount()
getChildCount
in interface TreeNode
getChildCount
in class DefaultMutableTreeNode
public void clear()
public boolean isLoaded()
protected abstract void initChildren()