Пример #1
0
 /// <summary>
 /// Detaches event handler <code>fnFunction</code> from the {@link #event:selectionChange selectionChange} event of this <code>sap.m.SelectList</code>.
 ///
 /// The passed function and listener object must match the ones used for event registration.
 /// </summary>
 /// <param name="fnFunction">The function to be called, when the event occurs</param>
 /// <param name="oListener">Context object on which the given function had to be called</param>
 /// <returns>Reference to <code>this</code> in order to allow method chaining</returns>
 public extern virtual sap.m.SelectList detachSelectionChange(sap.m.SelectionChangeDelegate fnFunction, object oListener);
Пример #2
0
 /// <summary>
 /// Attaches event handler <code>fnFunction</code> to the {@link #event:selectionChange selectionChange} event of this <code>sap.m.SelectList</code>.
 ///
 /// When called, the context of the event handler (its <code>this</code>) will be bound to <code>oListener</code> if specified, otherwise it will be bound to this <code>sap.m.SelectList</code> itself.
 ///
 /// This event is fired when the selection has changed.
 ///
 /// <b>Note: </b> The selection can be changed by pressing a non-selected item or via keyboard and after the enter or space key is pressed.
 /// </summary>
 /// <param name="fnFunction">The function to be called when the event occurs</param>
 /// <returns>Reference to <code>this</code> in order to allow method chaining</returns>
 public extern virtual sap.m.SelectList attachSelectionChange(sap.m.SelectionChangeDelegate fnFunction);
Пример #3
0
 /// <summary>
 /// Attaches event handler <code>fnFunction</code> to the {@link #event:selectionChange selectionChange} event of this <code>sap.m.ComboBox</code>.
 ///
 /// When called, the context of the event handler (its <code>this</code>) will be bound to <code>oListener</code> if specified, otherwise it will be bound to this <code>sap.m.ComboBox</code> itself.
 ///
 /// This event is fired when the user types something that matches with an item in the list; it is also fired when the user presses on a list item, or when navigating via keyboard.
 /// </summary>
 /// <param name="fnFunction">The function to be called when the event occurs</param>
 /// <returns>Reference to <code>this</code> in order to allow method chaining</returns>
 public extern virtual sap.m.ComboBox attachSelectionChange(sap.m.SelectionChangeDelegate fnFunction);
Пример #4
0
 /// <summary>
 /// Attaches event handler <code>fnFunction</code> to the {@link #event:selectionChange selectionChange} event of this <code>sap.m.ComboBox</code>.
 ///
 /// When called, the context of the event handler (its <code>this</code>) will be bound to <code>oListener</code> if specified, otherwise it will be bound to this <code>sap.m.ComboBox</code> itself.
 ///
 /// This event is fired when the user types something that matches with an item in the list; it is also fired when the user presses on a list item, or when navigating via keyboard.
 /// </summary>
 /// <param name="oData">An application-specific payload object that will be passed to the event handler along with the event object when firing the event</param>
 /// <param name="fnFunction">The function to be called when the event occurs</param>
 /// <param name="oListener">Context object to call the event handler with. Defaults to this <code>sap.m.ComboBox</code> itself</param>
 /// <returns>Reference to <code>this</code> in order to allow method chaining</returns>
 public extern virtual sap.m.ComboBox attachSelectionChange(object oData, sap.m.SelectionChangeDelegate fnFunction, object oListener);
Пример #5
0
 /// <summary>
 /// Detaches event handler <code>fnFunction</code> from the {@link #event:change change} event of this <code>sap.m.semantic.SemanticSelect</code>.
 ///
 /// The passed function and listener object must match the ones used for event registration.
 /// </summary>
 /// <param name="fnFunction">The function to be called, when the event occurs</param>
 /// <param name="oListener">Context object on which the given function had to be called</param>
 /// <returns>Reference to <code>this</code> in order to allow method chaining</returns>
 public extern virtual sap.m.semantic.SemanticSelect detachChange(sap.m.SelectionChangeDelegate fnFunction, object oListener);
Пример #6
0
 /// <summary>
 /// Attaches event handler <code>fnFunction</code> to the {@link #event:change change} event of this <code>sap.m.semantic.SemanticSelect</code>.
 ///
 /// When called, the context of the event handler (its <code>this</code>) will be bound to <code>oListener</code> if specified, otherwise it will be bound to this <code>sap.m.semantic.SemanticSelect</code> itself.
 ///
 /// See {@link sap.m.Select#event:change}
 /// </summary>
 /// <param name="fnFunction">The function to be called when the event occurs</param>
 /// <returns>Reference to <code>this</code> in order to allow method chaining</returns>
 public extern virtual sap.m.semantic.SemanticSelect attachChange(sap.m.SelectionChangeDelegate fnFunction);