コード例 #1
0
 /// <summary>
 /// Attach event-handler <code>fnFunction</code> to the 'matched' event of this <code>sap.ui.core.routing.Route</code>.<br/>
 /// </summary>
 /// <param name="fnFunction">The function to call, when the event occurs. This function will be called on the oListener-instance (if present) or in a 'static way'.</param>
 /// <returns><code>this</code> to allow method chaining</returns>
 public extern virtual sap.ui.core.routing.Route attachMatched(sap.ui.core.routing.Route.MatchedDelegate fnFunction);
コード例 #2
0
 /// <summary>
 /// Detach event-handler <code>fnFunction</code> from the 'matched' event of this <code>sap.ui.core.routing.Route</code>.<br/>
 ///
 /// The passed function and listener object must match the ones previously used for event registration.
 /// </summary>
 /// <param name="fnFunction">The function to call, when the event occurs.</param>
 /// <param name="oListener">Object on which the given function had to be called.</param>
 /// <returns><code>this</code> to allow method chaining</returns>
 public extern virtual sap.ui.core.routing.Route detachMatched(sap.ui.core.routing.Route.MatchedDelegate fnFunction, object oListener);
コード例 #3
0
 /// <summary>
 /// Attach event-handler <code>fnFunction</code> to the 'beforeMatched' event of this <code>sap.ui.core.routing.Route</code>.<br/>
 /// </summary>
 /// <param name="oData">The object, that should be passed along with the event-object when firing the event.</param>
 /// <param name="fnFunction">The function to call, when the event occurs. This function will be called on the oListener-instance (if present) or in a 'static way'.</param>
 /// <returns><code>this</code> to allow method chaining</returns>
 public extern virtual sap.ui.core.routing.Route attachBeforeMatched(object oData, sap.ui.core.routing.Route.MatchedDelegate fnFunction);