|
||||||||||
| 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
public abstract class CellNode
A tree node for a cell, to which child nodes are added dynamically when the node is expanded.
| Field Summary | |
|---|---|
protected DefaultTreeModel |
treeModel
The data model to which the node belongs |
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
|---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
|---|---|
CellNode(Cell cell,
DefaultTreeModel treeModel)
Creates a new cell node. |
|
| Method Summary | |
|---|---|
protected abstract void |
addChildren()
Adds children to the node. |
Cell |
getCell()
Returns the cell of the node. |
void |
populate()
Populates the cell node by adding child nodes for all its references. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected DefaultTreeModel treeModel
| Constructor Detail |
|---|
public CellNode(Cell cell,
DefaultTreeModel treeModel)
cell - the cell of the nodetreeModel - the data model to which the node belongs| Method Detail |
|---|
public Cell getCell()
public void populate()
protected abstract void addChildren()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||