BBjTree::insertNode
Description
Inserts a child node into the BBjTree control.
Syntax
| Return Value | Method |
|---|---|
|
void |
insertNode(int childID, int parentID, String text, int index) |
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. |
|
index |
Specifies the 0-based index of the parent child list in which the node will be inserted. |
Return Value
None.
Remarks
Each child node in the parent's list with an index greater or equal to the specific index is shifted upward to have an index one greater than the value it had previously.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.