/// <summary> /// Adds some node to the aggregation {@link #getNodes nodes}. /// </summary> /// <param name="oNode">The node to add; if empty, nothing is inserted</param> /// <returns>Reference to <code>this</code> in order to allow method chaining</returns> public extern virtual sap.ui.commons.Tree addNode(sap.ui.commons.TreeNode oNode);
/// <summary> /// Checks for the provided <code>sap.ui.commons.TreeNode</code> in the aggregation {@link #getNodes nodes}. and returns its index if found or -1 otherwise. /// </summary> /// <param name="oNode">The node whose index is looked for</param> /// <returns>The index of the provided control in the aggregation if found, or -1 otherwise</returns> public extern virtual int indexOfNode(sap.ui.commons.TreeNode oNode);
/// <summary> /// Inserts a node into the aggregation {@link #getNodes nodes}. /// </summary> /// <param name="oNode">The node to insert; if empty, nothing is inserted</param> /// <param name="iIndex">The <code>0</code>-based index the node should be inserted at; for a negative value of <code>iIndex</code>, the node is inserted at position 0; for a value greater than the current size of the aggregation, the node is inserted at the last position</param> /// <returns>Reference to <code>this</code> in order to allow method chaining</returns> public extern virtual sap.ui.commons.Tree insertNode(sap.ui.commons.TreeNode oNode, int iIndex);