/// <summary> /// Detaches event handler <code>fnFunction</code> from the {@link #event:stepExpanded stepExpanded} event of this <code>sap.ui.commons.RoadMap</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.RoadMap detachStepExpanded(sap.ui.commons.RoadMap.StepDelegate fnFunction, object oListener);
/// <summary> /// Attaches event handler <code>fnFunction</code> to the {@link #event:stepSelected stepSelected} event of this <code>sap.ui.commons.RoadMap</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.RoadMap</code> itself. /// /// Event is fired when the user selects a step. /// </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.ui.commons.RoadMap</code> itself</param> /// <returns>Reference to <code>this</code> in order to allow method chaining</returns> public extern virtual sap.ui.commons.RoadMap attachStepSelected(sap.ui.commons.RoadMap.StepDelegate fnFunction, object oListener);
/// <summary> /// Attaches event handler <code>fnFunction</code> to the {@link #event:stepExpanded stepExpanded} event of this <code>sap.ui.commons.RoadMap</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.RoadMap</code> itself. /// /// Event is fired when a given step is expanded or collapsed by user. /// </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.RoadMap attachStepExpanded(sap.ui.commons.RoadMap.StepDelegate fnFunction);
/// <summary> /// Attaches event handler <code>fnFunction</code> to the {@link #event:stepSelected stepSelected} event of this <code>sap.ui.commons.RoadMap</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.RoadMap</code> itself. /// /// Event is fired when the user selects a step. /// </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.commons.RoadMap attachStepSelected(object oData, sap.ui.commons.RoadMap.StepDelegate fnFunction);