Class LazyMutableTreeNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
com.redhat.devtools.intellij.common.tree.LazyMutableTreeNode
- All Implemented Interfaces:
Serializable,Cloneable,MutableTreeNode,TreeNode
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject -
Constructor Summary
ConstructorsConstructorDescriptionLazyMutableTreeNode(Object userObject) LazyMutableTreeNode(Object userObject, boolean allowsChildren) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidinsert(MutableTreeNode newChild, int childIndex) booleanisLoaded()voidload()protected voidnotifyChildAdded(Object child, int index) protected voidnotifyChildRemoved(Object child, int index) protected voidvoidreload()voidremove(MutableTreeNode aChild) voidvoidMethods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
-
Field Details
-
loaded
protected boolean loaded
-
-
Constructor Details
-
LazyMutableTreeNode
public LazyMutableTreeNode() -
LazyMutableTreeNode
-
LazyMutableTreeNode
-
-
Method Details
-
isLoaded
public boolean isLoaded() -
load
public void load() -
reload
public void reload() -
addChangeListener
-
removeChangeListener
-
notifyChildAdded
-
notifyChildRemoved
-
notifyChildrensRemoved
protected void notifyChildrensRemoved() -
insert
- Specified by:
insertin interfaceMutableTreeNode- Overrides:
insertin classDefaultMutableTreeNode
-
remove
- Specified by:
removein interfaceMutableTreeNode- Overrides:
removein classDefaultMutableTreeNode
-
removeAllChildren
public void removeAllChildren()- Overrides:
removeAllChildrenin classDefaultMutableTreeNode
-