public class DependentsNode extends CellNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
Constructor and Description |
---|
DependentsNode(Cell cell,
DefaultTreeModel treeModel)
Creates a new dependents node.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addChildren()
Adds children to the node.
|
boolean |
isLeaf()
Returns whether the cell has references.
|
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
public DependentsNode(Cell cell, DefaultTreeModel treeModel)
cell
- the cell of the nodetreeModel
- the data model to which the node belongsprotected void addChildren()
CellNode
addChildren
in class CellNode
public boolean isLeaf()
isLeaf
in interface TreeNode
isLeaf
in class DefaultMutableTreeNode