示例#1
0
 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>");
 }
示例#2
0
 /// <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);
示例#3
0
 /// <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);
示例#4
0
 /// <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);
示例#5
0
 /// <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);
示例#6
0
 /// <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);
示例#7
0
 /// <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);
示例#8
0
 /// <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);
示例#9
0
 /// <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);
示例#10
0
 /// <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);
示例#11
0
 /// <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);
示例#12
0
 /// <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);
示例#13
0
 /// <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);
示例#14
0
 /// <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);
示例#15
0
 /// <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);
示例#16
0
 /// <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);
示例#17
0
 /// <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);
示例#18
0
 /// <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);
示例#19
0
 /// <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);
示例#20
0
 /// <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);
示例#21
0
 /// <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);
示例#22
0
 /// <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);
示例#23
0
 /// <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);
示例#24
0
 /// <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);
示例#25
0
 /// <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);
示例#26
0
 /// <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);
示例#27
0
 /// <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);
示例#28
0
 /// <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);
示例#29
0
 /// <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);
示例#30
0
 /// <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);