/// <summary> /// Produces the HTML of an item and writes it to render-output-buffer during the rendering of the corresponding menu. /// /// Subclasses may override this function. /// </summary> /// <param name="oRenderManager">The <code>RenderManager</code> that can be used for writing to the render-output-buffer</param> /// <param name="oItem">The item which should be rendered</param> /// <param name="oMenu">The menu to which this item belongs</param> public extern virtual void render(sap.ui.core.RenderManager oRenderManager, sap.ui.unified.MenuItemBase oItem, sap.ui.unified.Menu oMenu);
/// <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.unified.Menu addItem(sap.ui.unified.MenuItemBase oItem);
/// <summary> /// Checks for the provided <code>sap.ui.unified.MenuItemBase</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.MenuItemBase oItem);
/// <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.unified.Menu insertItem(sap.ui.unified.MenuItemBase oItem, int iIndex);