org.argouml.ui.explorer
Class ExplorerTreeNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
org.argouml.ui.explorer.ExplorerTreeNode
- All Implemented Interfaces:
- Cloneable, MutableTreeNode, Serializable, TreeNode
- public class ExplorerTreeNode
- extends DefaultMutableTreeNode
Ensures that explorer tree nodes have a default ordering.
- Since:
- 0.15.2, Created on 27 September 2003, 17:40
- See Also:
- Serialized Form
Methods 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, insert, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString |
model
private ExplorerTreeModel model
expanded
private boolean expanded
pending
private boolean pending
modifySet
private Set modifySet
ExplorerTreeNode
public ExplorerTreeNode(Object userObj,
ExplorerTreeModel m)
- Creates a new instance of ExplorerTreeNode.
- Parameters:
userObj
- the object in the treem
- the tree model
isLeaf
public boolean isLeaf()
- See Also:
TreeNode.isLeaf()
getPending
boolean getPending()
setPending
void setPending(boolean value)
setModifySet
public void setModifySet(Set set)
- Parameters:
set
- the given set
nodeModified
public void nodeModified(Object node)
- Parameters:
node
- the modified node in the tree
remove
public void remove()
- cleans up for gc.