/// <summary> /// Checks for the provided <code>sap.ui.commons.ToolbarItem</code> in the aggregation {@link #getRightItems rightItems}. and returns its index if found or -1 otherwise. /// </summary> /// <param name="oRightItem">The rightItem 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 indexOfRightItem(sap.ui.commons.ToolbarItem oRightItem);
/// <summary> /// Adds some rightItem to the aggregation {@link #getRightItems rightItems}. /// </summary> /// <param name="oRightItem">The rightItem 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.Toolbar addRightItem(sap.ui.commons.ToolbarItem oRightItem);
/// <summary> /// Inserts a rightItem into the aggregation {@link #getRightItems rightItems}. /// </summary> /// <param name="oRightItem">The rightItem to insert; if empty, nothing is inserted</param> /// <param name="iIndex">The <code>0</code>-based index the rightItem should be inserted at; for a negative value of <code>iIndex</code>, the rightItem is inserted at position 0; for a value greater than the current size of the aggregation, the rightItem 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.Toolbar insertRightItem(sap.ui.commons.ToolbarItem oRightItem, int iIndex);
/// <summary> /// Adds some toolbarItem to the aggregation {@link #getToolbarItems toolbarItems}. /// </summary> /// <param name="oToolbarItem">The toolbarItem 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.ExactArea addToolbarItem(sap.ui.commons.ToolbarItem oToolbarItem);
/// <summary> /// Inserts a toolbarItem into the aggregation {@link #getToolbarItems toolbarItems}. /// </summary> /// <param name="oToolbarItem">The toolbarItem to insert; if empty, nothing is inserted</param> /// <param name="iIndex">The <code>0</code>-based index the toolbarItem should be inserted at; for a negative value of <code>iIndex</code>, the toolbarItem is inserted at position 0; for a value greater than the current size of the aggregation, the toolbarItem 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.ExactArea insertToolbarItem(sap.ui.commons.ToolbarItem oToolbarItem, int iIndex);
/// <summary> /// remove a toolbarItem to the toolbar /// </summary> /// <param name="oOToolbarItem"></param> public extern virtual void removeToolbarItem(sap.ui.commons.ToolbarItem oOToolbarItem);