public void renderer(sap.ui.core.RenderManager oRM, sap.ui.core.Control oControl) { oRM.write("<div"); oRM.writeControlData(oControl); oRM.addClass("myAppDemoWTProductRating"); oRM.writeClasses(); oRM.write(">"); oRM.renderControl(oControl.getAggregation <sap.ui.core.Control>("_rating")); oRM.renderControl(oControl.getAggregation <sap.ui.core.Control>("_label")); oRM.renderControl(oControl.getAggregation <sap.ui.core.Control>("_button")); oRM.write("</div>"); }
/// <summary> /// Checks for the provided <code>sap.ui.core.Control</code> in the aggregation {@link #getPages pages}. and returns its index if found or -1 otherwise. /// </summary> /// <param name="oPage">The page 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 indexOfPage(sap.ui.core.Control oPage);
/// <summary> /// Checks for the provided <code>sap.ui.core.Control</code> in the aggregation {@link #getContent content}. and returns its index if found or -1 otherwise. /// </summary> /// <param name="oContent">The content 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 indexOfContent(sap.ui.core.Control oContent);
/// <summary> /// Inserts a content into the aggregation {@link #getContent content}. /// </summary> /// <param name="oContent">The content to insert; if empty, nothing is inserted</param> /// <param name="iIndex">The <code>0</code>-based index the content should be inserted at; for a negative value of <code>iIndex</code>, the content is inserted at position 0; for a value greater than the current size of the aggregation, the content is inserted at the last position</param> /// <returns>Reference to <code>this</code> in order to allow method chaining</returns> public extern virtual sap.m.InputListItem insertContent(sap.ui.core.Control oContent, int iIndex);
/// <summary> /// Inserts a content into the aggregation {@link #getContent content}. /// </summary> /// <param name="oContent">The content to insert; if empty, nothing is inserted</param> /// <param name="iIndex">The <code>0</code>-based index the content should be inserted at; for a negative value of <code>iIndex</code>, the content is inserted at position 0; for a value greater than the current size of the aggregation, the content is inserted at the last position</param> /// <returns>Reference to <code>this</code> in order to allow method chaining</returns> public extern virtual sap.uxap.ObjectPageLazyLoader insertContent(sap.ui.core.Control oContent, int iIndex);
/// <summary> /// Inserts a content into the aggregation {@link #getContent content}. /// </summary> /// <param name="oContent">The content to insert; if empty, nothing is inserted</param> /// <param name="iIndex">The <code>0</code>-based index the content should be inserted at; for a negative value of <code>iIndex</code>, the content is inserted at position 0; for a value greater than the current size of the aggregation, the content is inserted at the last position</param> /// <returns>Reference to <code>this</code> in order to allow method chaining</returns> public extern virtual sap.m.HeaderContainer insertContent(sap.ui.core.Control oContent, int iIndex);
/// <summary> /// Inserts a fixContent into the aggregation {@link #getFixContent fixContent}. /// </summary> /// <param name="oFixContent">The fixContent to insert; if empty, nothing is inserted</param> /// <param name="iIndex">The <code>0</code>-based index the fixContent should be inserted at; for a negative value of <code>iIndex</code>, the fixContent is inserted at position 0; for a value greater than the current size of the aggregation, the fixContent 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.layout.FixFlex insertFixContent(sap.ui.core.Control oFixContent, int iIndex);
/// <summary> /// Adds some content2 to the aggregation {@link #getContent2 content2}. /// </summary> /// <param name="oContent2">The content2 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.ContentSwitcher addContent2(sap.ui.core.Control oContent2);
/// <summary> /// Inserts a content into the aggregation {@link #getContent content}. /// </summary> /// <param name="oContent">The content to insert; if empty, nothing is inserted</param> /// <param name="iIndex">The <code>0</code>-based index the content should be inserted at; for a negative value of <code>iIndex</code>, the content is inserted at position 0; for a value greater than the current size of the aggregation, the content 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.layout.BlockLayoutCell insertContent(sap.ui.core.Control oContent, int iIndex);
/// <summary> /// Sets the aggregated {@link #getCustomContent customContent}. /// </summary> /// <param name="oCustomContent">The customContent to set</param> /// <returns>Reference to <code>this</code> in order to allow method chaining</returns> public extern virtual sap.m.ObjectAttribute setCustomContent(sap.ui.core.Control oCustomContent);
/// <summary> /// Inserts a content2 into the aggregation {@link #getContent2 content2}. /// </summary> /// <param name="oContent2">The content2 to insert; if empty, nothing is inserted</param> /// <param name="iIndex">The <code>0</code>-based index the content2 should be inserted at; for a negative value of <code>iIndex</code>, the content2 is inserted at position 0; for a value greater than the current size of the aggregation, the content2 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.ContentSwitcher insertContent2(sap.ui.core.Control oContent2, int iIndex);
/// <summary> /// Adds some content to the aggregation {@link #getContent content}. /// </summary> /// <param name="oContent">The content 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.layout.Grid addContent(sap.ui.core.Control oContent);
/// <summary> /// Inserts a content into the aggregation {@link #getContent content}. /// </summary> /// <param name="oContent">The content to insert; if empty, nothing is inserted</param> /// <param name="iIndex">The <code>0</code>-based index the content should be inserted at; for a negative value of <code>iIndex</code>, the content is inserted at position 0; for a value greater than the current size of the aggregation, the content 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.layout.Grid insertContent(sap.ui.core.Control oContent, int iIndex);
/// <summary> /// Sets focus on given control and triggers a 'tap' event on it (which is internally translated into a 'press' event). Logs an error if control is not visible (i.e. has no dom representation) /// </summary> /// <param name="oControl">the control on which the 'press' event is triggered</param> public extern virtual void executeOn(sap.ui.core.Control oControl);
/// <summary> /// Adds some secondaryContent to the aggregation {@link #getSecondaryContent secondaryContent}. /// </summary> /// <param name="oSecondaryContent">The secondaryContent 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.SplitContainer addSecondaryContent(sap.ui.core.Control oSecondaryContent);
/// <summary> /// Adds some content to the aggregation {@link #getContent content}. /// </summary> /// <param name="oContent">The content 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.layout.BlockLayoutCell addContent(sap.ui.core.Control oContent);
/// <summary> /// Checks for the provided <code>sap.ui.core.Control</code> in the aggregation {@link #getSecondaryContent secondaryContent}. and returns its index if found or -1 otherwise. /// </summary> /// <param name="oSecondaryContent">The secondaryContent 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 indexOfSecondaryContent(sap.ui.core.Control oSecondaryContent);
/// <summary> /// Sets the aggregated {@link #getTitleLink titleLink}. /// </summary> /// <param name="oTitleLink">The titleLink to set</param> /// <returns>Reference to <code>this</code> in order to allow method chaining</returns> public extern virtual sap.ui.layout.BlockLayoutCell setTitleLink(sap.ui.core.Control oTitleLink);
/// <summary> /// Adds some content to the aggregation {@link #getContent content}. /// </summary> /// <param name="oContent">The content 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.m.HeaderContainer addContent(sap.ui.core.Control oContent);
/// <summary> /// Adds some content to the aggregation {@link #getContent content}. /// </summary> /// <param name="oContent">The content 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.Callout addContent(sap.ui.core.Control oContent);
/// <summary> /// Sets the aggregated {@link #getFlexContent flexContent}. /// </summary> /// <param name="oFlexContent">The flexContent to set</param> /// <returns>Reference to <code>this</code> in order to allow method chaining</returns> public extern virtual sap.ui.layout.FixFlex setFlexContent(sap.ui.core.Control oFlexContent);
/// <summary> /// Inserts a content into the aggregation {@link #getContent content}. /// </summary> /// <param name="oContent">The content to insert; if empty, nothing is inserted</param> /// <param name="iIndex">The <code>0</code>-based index the content should be inserted at; for a negative value of <code>iIndex</code>, the content is inserted at position 0; for a value greater than the current size of the aggregation, the content 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.Callout insertContent(sap.ui.core.Control oContent, int iIndex);
/// <summary> /// Adds some content to the aggregation {@link #getContent content}. /// </summary> /// <param name="oContent">The content 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.m.InputListItem addContent(sap.ui.core.Control oContent);
/// <summary> /// Checks if the control has an empty aggregation. /// </summary> /// <param name="oControl">the control that is checked by the matcher</param> /// <returns>true if the Aggregation set in the property aggregationName is empty, false if it is not.</returns> public extern override bool isMatching(sap.ui.core.Control oControl);
/// <summary> /// Adds some content to the aggregation {@link #getContent content}. /// </summary> /// <param name="oContent">The content 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.uxap.ObjectPageLazyLoader addContent(sap.ui.core.Control oContent);
/// <summary> /// Checks if the matcher is matching - will get an instance of sap.ui.core.Control as parameter Should be overwritten by subclasses /// </summary> /// <param name="element">the {@link sap.ui.core.Element} or a control (extends element) the action will be executed on</param> public extern virtual void executeOn(sap.ui.core.Control element);
/// <summary> /// Checks for the provided <code>sap.ui.core.Control</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.Control oItem);
/// <summary> /// Inserts a secondaryContent into the aggregation {@link #getSecondaryContent secondaryContent}. /// </summary> /// <param name="oSecondaryContent">The secondaryContent to insert; if empty, nothing is inserted</param> /// <param name="iIndex">The <code>0</code>-based index the secondaryContent should be inserted at; for a negative value of <code>iIndex</code>, the secondaryContent is inserted at position 0; for a value greater than the current size of the aggregation, the secondaryContent 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.SplitContainer insertSecondaryContent(sap.ui.core.Control oSecondaryContent, int iIndex);
/// <summary> /// Sets the aggregated {@link #getContent content}. /// </summary> /// <param name="oContent">The content to set</param> /// <returns>Reference to <code>this</code> in order to allow method chaining</returns> public extern virtual sap.f.DynamicPage setContent(sap.ui.core.Control oContent);
/// <summary> /// Adds some page to the aggregation {@link #getPages pages}. /// </summary> /// <param name="oPage">The page 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.m.Carousel addPage(sap.ui.core.Control oPage);