TestNode
| Kind of class: | (package private) (inner) class |
|---|---|
| Enclosing class: | |
| Package: | treemap |
| Inherits from: | none |
| Implements: | |
| Package classpath: | treemap.TestNode |
| File last modified: | Monday, 18 February 2002, 14:33:48 |
Implements TMNode
Summary
Instance methods
- add
- Add child.
- isLeaf
- Is leaf ?
- children
- Returns children.
- setUpdater
- Set updater.
- getUpdater
- Get updater.
Constructors
TestNode
(package private) TestNode(
)
Constructor.
TestNode
(package private) TestNode(
boolean leaf)
Constructor.
Instance fields
children
private Vector children = null
leaf
private boolean leaf = false
updater
private TMUpdater updater = null
Instance methods
children
public Enumeration children(
)
Returns children.
Returns:
- an Enumeration containing childs of this node#
Specified by:
isLeaf
public boolean isLeaf(
)
Is leaf ?
Returns:
- #
trueif this node is a leaf;
falseotherwise
Specified by:
setUpdater
Set updater.
Parameters:
updater:
the TMUpdater to be called when something has changed
#Specified by: