public void addChild ( HelpTopicNode node , int index ) { node . detach ( ) ; node . parent = this ; if ( index < 0 ) { children . add ( node ) ; } else { children . add ( index , node ) ; } }
Inserts a child node at the specified position .