Пример #1
0
 /// <summary>
 /// Attaches event handler <code>fnFunction</code> to the {@link #event:press press} event of this <code>sap.m.semantic.SemanticButton</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.SemanticButton</code> itself.
 ///
 /// See {@link sap.m.Button#press}
 /// </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.SemanticButton attachPress([email protected] fnFunction);
Пример #2
0
 /// <summary>
 /// Detaches event handler <code>fnFunction</code> from the {@link #event:press press} event of this <code>sap.ui.commons.Button</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.ui.commons.Button detachPress([email protected] fnFunction, object oListener);
Пример #3
0
 /// <summary>
 /// Detaches event handler <code>fnFunction</code> from the {@link #event:delete delete} event of this <code>sap.m.Token</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.Token detachDelete([email protected] fnFunction, object oListener);
Пример #4
0
 /// <summary>
 /// Detaches event handler <code>fnFunction</code> from the {@link #event:error error} event of this <code>sap.m.PDFViewer</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.PDFViewer detachError([email protected] fnFunction, object oListener);
Пример #5
0
 /// <summary>
 /// Detaches event handler <code>fnFunction</code> from the {@link #event:sourceValidationFailed sourceValidationFailed} event of this <code>sap.m.PDFViewer</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.PDFViewer detachSourceValidationFailed([email protected] fnFunction, object oListener);
Пример #6
0
 /// <summary>
 /// Detaches event handler <code>fnFunction</code> from the {@link #event:beforeNavigationTo beforeNavigationTo} event of this <code>sap.m.P13nPanel</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.P13nPanel detachBeforeNavigationTo([email protected] fnFunction, object oListener);
Пример #7
0
 /// <summary>
 /// Attaches event handler <code>fnFunction</code> to the {@link #event:loaded loaded} event of this <code>sap.m.PDFViewer</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.PDFViewer</code> itself.
 ///
 /// This event is fired when a PDF file is loaded. If the PDF is loaded in smaller chunks, this event is fired as often as defined by the browser's plugin. This may happen after a couple chunks are processed.
 /// </summary>
 /// <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.PDFViewer</code> itself</param>
 /// <returns>Reference to <code>this</code> in order to allow method chaining</returns>
 public extern virtual sap.m.PDFViewer attachLoaded([email protected] fnFunction, object oListener);
Пример #8
0
 /// <summary>
 /// Detaches event handler <code>fnFunction</code> from the {@link #event:defaultAction defaultAction} event of this <code>sap.m.MenuButton</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.MenuButton detachDefaultAction([email protected] fnFunction, object oListener);
Пример #9
0
 /// <summary>
 /// Attaches event handler <code>fnFunction</code> to the {@link #event:dragEnd dragEnd} event of this <code>sap.ui.core.dnd.DragDropInfo</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.ui.core.dnd.DragDropInfo</code> itself.
 ///
 /// This event is fired when a drag operation is being ended.
 /// </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.ui.core.dnd.DragDropInfo attachDragEnd([email protected] fnFunction);
Пример #10
0
 /// <summary>
 /// Detaches event handler <code>fnFunction</code> from the {@link #event:change change} event of this <code>sap.ui.codeeditor.CodeEditor</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.ui.codeeditor.CodeEditor detachChange([email protected] fnFunction, object oListener);
Пример #11
0
 /// <summary>
 /// Attaches event handler <code>fnFunction</code> to the {@link #event:defaultAction defaultAction} event of this <code>sap.m.MenuButton</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.MenuButton</code> itself.
 ///
 /// Fired when the <code>buttonMode</code> is set to <code>Split</code> and the user presses the main button unless <code>useDefaultActionOnly</code> is set to <code>false</code> and another action from the menu has been selected previously.
 /// </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.MenuButton attachDefaultAction([email protected] fnFunction);
Пример #12
0
 /// <summary>
 /// Attaches event handler <code>fnFunction</code> to the {@link #event:change change} event of this <code>sap.ui.codeeditor.CodeEditor</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.ui.codeeditor.CodeEditor</code> itself.
 /// </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.ui.codeeditor.CodeEditor attachChange([email protected] fnFunction);
Пример #13
0
 /// <summary>
 /// Attaches event handler <code>fnFunction</code> to the {@link #event:liveChange liveChange} event of this <code>sap.ui.codeeditor.CodeEditor</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.ui.codeeditor.CodeEditor</code> itself.
 /// </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>
 /// <returns>Reference to <code>this</code> in order to allow method chaining</returns>
 public extern virtual sap.ui.codeeditor.CodeEditor attachLiveChange(object oData, [email protected] fnFunction);
Пример #14
0
 /// <summary>
 /// Detaches event handler <code>fnFunction</code> from the {@link #event:press press} event of this <code>sap.m.semantic.SemanticButton</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.SemanticButton detachPress([email protected] fnFunction, object oListener);
Пример #15
0
 /// <summary>
 /// Detaches event handler <code>fnFunction</code> from the {@link #event:press press} event of this <code>sap.m.MenuItem</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.MenuItem detachPress([email protected] fnFunction, object oListener);
Пример #16
0
 /// <summary>
 /// Detaches event handler <code>fnFunction</code> from the {@link #event:dragEnd dragEnd} event of this <code>sap.ui.core.dnd.DragDropInfo</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.ui.core.dnd.DragDropInfo detachDragEnd([email protected] fnFunction, object oListener);
Пример #17
0
 /// <summary>
 /// Attaches event handler <code>fnFunction</code> to the {@link #event:beforeNavigationTo beforeNavigationTo} event of this <code>sap.m.P13nPanel</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.P13nPanel</code> itself.
 ///
 /// Due to performance the data of the panel can be requested in lazy mode e.g. when the panel is displayed
 /// </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.P13nPanel attachBeforeNavigationTo([email protected] fnFunction);
Пример #18
0
 /// <summary>
 /// Attaches event handler <code>fnFunction</code> to the {@link #event:closed closed} event of this <code>sap.ui.unified.ShellOverlay</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.ui.unified.ShellOverlay</code> itself.
 ///
 /// Fired when the overlay was closed.
 /// </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.ui.unified.ShellOverlay attachClosed([email protected] fnFunction);
Пример #19
0
 /// <summary>
 /// Attaches event handler <code>fnFunction</code> to the {@link #event:loaded loaded} event of this <code>sap.m.PDFViewer</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.PDFViewer</code> itself.
 ///
 /// This event is fired when a PDF file is loaded. If the PDF is loaded in smaller chunks, this event is fired as often as defined by the browser's plugin. This may happen after a couple chunks are processed.
 /// </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>
 /// <returns>Reference to <code>this</code> in order to allow method chaining</returns>
 public extern virtual sap.m.PDFViewer attachLoaded(object oData, [email protected] fnFunction);
Пример #20
0
 /// <summary>
 /// Detaches event handler <code>fnFunction</code> from the {@link #event:closed closed} event of this <code>sap.ui.unified.ShellOverlay</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.ui.unified.ShellOverlay detachClosed([email protected] fnFunction, object oListener);
Пример #21
0
 /// <summary>
 /// Attaches event handler <code>fnFunction</code> to the {@link #event:error error} event of this <code>sap.m.PDFViewer</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.PDFViewer</code> itself.
 ///
 /// This event is fired when there is an error loading the PDF file.
 /// </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.PDFViewer attachError([email protected] fnFunction);
Пример #22
0
 /// <summary>
 /// Attaches event handler <code>fnFunction</code> to the {@link #event:confirm confirm} event of this <code>sap.m.TablePersoDialog</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.TablePersoDialog</code> itself.
 /// </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>
 /// <returns>Reference to <code>this</code> in order to allow method chaining</returns>
 public extern virtual sap.m.TablePersoDialog attachConfirm(object oData, [email protected] fnFunction);
Пример #23
0
 /// <summary>
 /// Attaches event handler <code>fnFunction</code> to the {@link #event:sourceValidationFailed sourceValidationFailed} event of this <code>sap.m.PDFViewer</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.PDFViewer</code> itself.
 ///
 /// This event is fired when the PDF viewer control cannot check the loaded content. For example, the default configuration of the Mozilla Firefox browser may not allow checking the loaded content. This may also happen when the source PDF file is stored in a different domain. If you want no error message to be displayed when this event is fired, call the preventDefault() method inside the event handler.
 /// </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.PDFViewer attachSourceValidationFailed([email protected] fnFunction);
Пример #24
0
 /// <summary>
 /// Attaches event handler <code>fnFunction</code> to the {@link #event:cancel cancel} event of this <code>sap.m.TablePersoDialog</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.TablePersoDialog</code> itself.
 /// </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.TablePersoDialog attachCancel([email protected] fnFunction);
Пример #25
0
 /// <summary>
 /// Attaches event handler <code>fnFunction</code> to the {@link #event:press press} event of this <code>sap.ui.commons.Button</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.ui.commons.Button</code> itself.
 ///
 /// Event is fired when the user presses the control.
 /// </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.ui.commons.Button attachPress([email protected] fnFunction);
Пример #26
0
 /// <summary>
 /// Detaches event handler <code>fnFunction</code> from the {@link #event:cancel cancel} event of this <code>sap.m.TablePersoDialog</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.TablePersoDialog detachCancel([email protected] fnFunction, object oListener);
Пример #27
0
 /// <summary>
 /// Attaches event handler <code>fnFunction</code> to the {@link #event:delete delete} event of this <code>sap.m.Token</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.Token</code> itself.
 ///
 /// This event is fired if the user clicks the token's delete icon.
 /// </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.Token attachDelete([email protected] fnFunction);
Пример #28
0
 /// <summary>
 /// Attaches event handler <code>fnFunction</code> to the {@link #event:press press} event of this <code>sap.m.MenuItem</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.MenuItem</code> itself.
 ///
 /// Fired after the item has been 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.MenuItem attachPress([email protected] fnFunction);
Пример #29
0
 /// <summary>
 /// Attaches event handler <code>fnFunction</code> to the {@link #event:press press} event of this <code>sap.m.Token</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.Token</code> itself.
 ///
 /// This event is fired when the user clicks on the token.
 /// </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>
 /// <returns>Reference to <code>this</code> in order to allow method chaining</returns>
 public extern virtual sap.m.Token attachPress(object oData, [email protected] fnFunction);
Пример #30
0
 /// <summary>
 /// Detaches event handler <code>fnFunction</code> from the {@link #event:pageChange pageChange} event of this <code>sap.ui.unified.calendar.YearPicker</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.ui.unified.calendar.YearPicker detachPageChange([email protected] fnFunction, object oListener);