Пример #1
0
 /// <summary>
 /// Checks for the provided <code>sap.ui.core.Message</code> in the aggregation {@link #getMessages messages}. and returns its index if found or -1 otherwise.
 /// </summary>
 /// <param name="oMessage">The message 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 indexOfMessage(sap.ui.core.Message oMessage);
Пример #2
0
 /// <summary>
 /// Adds some message to the aggregation {@link #getMessages messages}.
 /// </summary>
 /// <param name="oMessage">The message 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.Notifier addMessage(sap.ui.core.Message oMessage);
Пример #3
0
 /// <summary>
 /// Compares two given messages with each other.
 ///
 /// The types of {@link sap.ui.core.MessageType} are ordered from "Error" > "Warning" > "Success" > "Information" > "None".
 /// </summary>
 /// <param name="oMessage1">first message to compare</param>
 /// <param name="oMessage2">second message to compare</param>
 /// <returns>returns <code>0</code> if both messages are at the same level. <code>-1</code> if <code>this</code> message has a lower level. <code>1</code> if <code>this</code> message has a higher level.</returns>
 public extern static int compareByType(sap.ui.core.Message oMessage1, sap.ui.core.Message oMessage2);
Пример #4
0
 /// <summary>
 /// Inserts a message into the aggregation {@link #getMessages messages}.
 /// </summary>
 /// <param name="oMessage">The message to insert; if empty, nothing is inserted</param>
 /// <param name="iIndex">The <code>0</code>-based index the message should be inserted at; for a negative value of <code>iIndex</code>, the message is inserted at position 0; for a value greater than the current size of the aggregation, the message 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.Notifier insertMessage(sap.ui.core.Message oMessage, int iIndex);
Пример #5
0
 /// <summary>
 /// Compares the given message with <code>this</code> message. The types of {@link sap.ui.core.MessageType} are ordered from "Error" > "Warning" > "Success" > "Information" > "None".
 ///
 /// See {@link sap.ui.core.Message.compareByType}
 /// </summary>
 /// <param name="oOther">message to compare with this one</param>
 /// <returns>returns <code>0</code> if both messages are at the same level. <code>-1</code> if <code>this</code> message has a lower level. <code>1</code> if <code>this</code> message has a higher level.</returns>
 public extern virtual int compareByType(sap.ui.core.Message oOther);