|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
csheets.ext.deptree.CellNode
csheets.ext.deptree.DependentsNode
public class DependentsNode
A tree node for a cell, to which the cell's dependents are added dynamically when the node is expanded.
| Field Summary |
|---|
| Fields inherited from class csheets.ext.deptree.CellNode |
|---|
treeModel |
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
|---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
|---|---|
DependentsNode(Cell cell,
DefaultTreeModel treeModel)
Creates a new dependents node. |
|
| Method Summary | |
|---|---|
protected void |
addChildren()
Adds children to the node. |
boolean |
isLeaf()
Returns whether the cell has references. |
| Methods inherited from class csheets.ext.deptree.CellNode |
|---|
getCell, populate |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DependentsNode(Cell cell,
DefaultTreeModel treeModel)
cell - the cell of the nodetreeModel - the data model to which the node belongs| Method Detail |
|---|
protected void addChildren()
CellNode
addChildren in class CellNodepublic boolean isLeaf()
isLeaf in interface TreeNodeisLeaf in class DefaultMutableTreeNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||