BBjTree::addNode
Description
Adds a child node to a parent node in the BBjTree control.
Syntax
| Return Value | Method |
|---|---|
|
void |
addNode(int childID, int parentID, String text) |
Parameters
| Parameter | Description |
|---|---|
|
childID |
Specifies the ID of the child node. |
|
parentID |
Specifies the ID of the parent node. |
|
text |
Specifies the label of the child node. |
Return Value
None.
Remarks
The child node will become the last node in its parent's child node list. Until the child node is given children, it will appear as a leaf node.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.