Beispiel #1
0
 /// <summary>
 /// Adds some item to the aggregation {@link #getItems items}.
 /// </summary>
 /// <param name="oItem">The item 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.MenuBar addItem(sap.ui.unified.MenuItem oItem);
Beispiel #2
0
 /// <summary>
 /// Checks for the provided <code>sap.ui.unified.MenuItem</code> in the aggregation {@link #getItems items}. and returns its index if found or -1 otherwise.
 /// </summary>
 /// <param name="oItem">The item 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 indexOfItem(sap.ui.unified.MenuItem oItem);
Beispiel #3
0
 /// <summary>
 /// Inserts a item into the aggregation {@link #getItems items}.
 /// </summary>
 /// <param name="oItem">The item to insert; if empty, nothing is inserted</param>
 /// <param name="iIndex">The <code>0</code>-based index the item should be inserted at; for a negative value of <code>iIndex</code>, the item is inserted at position 0; for a value greater than the current size of the aggregation, the item 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.MenuBar insertItem(sap.ui.unified.MenuItem oItem, int iIndex);