BBjTree::setRoot
Description
Creates the root node for the BBjTree control.
Syntax
| Return Value | Method |
|---|---|
|
void |
setRoot(int ID, String text) |
Parameters
| Parameter | Description |
|---|---|
|
ID |
Specifies the ID of the root node. |
|
text |
Specifies the text label of the root node. |
Return Value
None.
Remarks
All trees must have only one root node. The root must be set before any other nodes are added.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.