コード例 #1
0
 /// <summary>
 /// Adds some attribute to the aggregation {@link #getAttributes attributes}.
 /// </summary>
 /// <param name="oAttribute">The attribute 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.core.tmpl.DOMElement addAttribute(sap.ui.core.tmpl.DOMAttribute oAttribute);
コード例 #2
0
 /// <summary>
 /// Checks for the provided <code>sap.ui.core.tmpl.DOMAttribute</code> in the aggregation {@link #getAttributes attributes}. and returns its index if found or -1 otherwise.
 /// </summary>
 /// <param name="oAttribute">The attribute 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 indexOfAttribute(sap.ui.core.tmpl.DOMAttribute oAttribute);
コード例 #3
0
 /// <summary>
 /// Inserts a attribute into the aggregation {@link #getAttributes attributes}.
 /// </summary>
 /// <param name="oAttribute">The attribute to insert; if empty, nothing is inserted</param>
 /// <param name="iIndex">The <code>0</code>-based index the attribute should be inserted at; for a negative value of <code>iIndex</code>, the attribute is inserted at position 0; for a value greater than the current size of the aggregation, the attribute 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.core.tmpl.DOMElement insertAttribute(sap.ui.core.tmpl.DOMAttribute oAttribute, int iIndex);