示例#1
0
 /// <summary>
 /// Checks for the provided <code>sap.ui.core.ListItem</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.core.ListItem oItem);
示例#2
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.ux3.FacetFilterList addItem(sap.ui.core.ListItem oItem);
示例#3
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.ComboBox addItem(sap.ui.core.ListItem oItem);
示例#4
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.ux3.FacetFilterList insertItem(sap.ui.core.ListItem oItem, int iIndex);
示例#5
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.ComboBox insertItem(sap.ui.core.ListItem oItem, int iIndex);