Class sap.suite.ui.commons.DateRangeSliderInternalModule: sap/suite/ui/commons/DateRangeSliderInternal
The Date Range Slider provides the user with a Range Slider control that is optimized for use with Dates.
Deprecated API:Since version 1.34. Deprecated. Not Fiori.
sClassName
and enriches it with the information contained in oClassInfo
.fnFunction
to the 'change' event of this sap.suite.ui.commons.DateRangeSliderInternal
.fnFunction
to the 'liveChange' event of this sap.suite.ui.commons.DateRangeSliderInternal
.fnFunction
from the 'change' event of this sap.suite.ui.commons.DateRangeSliderInternal
.fnFunction
from the 'liveChange' event of this sap.suite.ui.commons.DateRangeSliderInternal
. Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers.
If the name of a setting is ambiguous (e.g. a property has the same name as an event), then the framework assumes property, aggregation, association, event in that order. To override this automatic resolution, one of the prefixes "aggregation:", "association:" or "event:" can be added to the name of the setting (such a prefixed name must be enclosed in single or double quotes).
The supported settings are:
- Properties
- showBubbles : boolean (default: true)
- pinGrip : boolean (default: false)
- pinGrip2 : boolean (default: false)
- Aggregations
- Associations
- Events
- change : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
- liveChange : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
In addition, all settings applicable to the base type sap.ui.commons.RangeSlider can be used as well.
{string} | sId? | id for the new control, generated automatically if no id is given |
{object} | mSettings? | initial settings for the new control |
- Deprecated:
- Since version 1.34. Deprecated. Not Fiori.
{sap.ui.base.Event} | oControlEvent | |
{sap.ui.base.EventProvider} | oControlEvent.getSource | |
{object} | oControlEvent.getParameters |
{sap.ui.base.Event} | oControlEvent | |
{sap.ui.base.EventProvider} | oControlEvent.getSource | |
{object} | oControlEvent.getParameters |
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of informations as described in Element.extend.
{string} | sClassName | name of the class to be created |
{object} | oClassInfo? | object literal with informations about the class |
{function} | FNMetaImpl? | constructor function for the metadata object. If not given, it defaults to sap.ui.core.ElementMetadata. |
{function} | the created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
fnFunction
to the 'change' event of this sap.suite.ui.commons.DateRangeSliderInternal
.. When called, the context of the event handler (its
this
) will be bound to oListener if specified otherwise to this sap.suite.ui.commons.DateRangeSliderInternal
.
itself. This event is fired when user changes the positions of the grips of the control. It contains value as Date object and value2 as Date object which are based on the positions of two grips.
{object} | oData? | An application specific payload object, that will be passed to the event handler along with the event object when firing the event. |
{function} | fnFunction | The function to call, when the event occurs. |
{object} | oListener? | Context object to call the event handler with. Defaults to this sap.suite.ui.commons.DateRangeSliderInternal .itself. |
{sap.suite.ui.commons.DateRangeSliderInternal} | this to allow method chaining |
fnFunction
to the 'liveChange' event of this sap.suite.ui.commons.DateRangeSliderInternal
.. When called, the context of the event handler (its
this
) will be bound to oListener if specified otherwise to this sap.suite.ui.commons.DateRangeSliderInternal
.
itself. This live event is fired when user changes the positions of the grips of the control. It contains value as Date object and value2 as Date object which are based on the positions of two grips.
{object} | oData? | An application specific payload object, that will be passed to the event handler along with the event object when firing the event. |
{function} | fnFunction | The function to call, when the event occurs. |
{object} | oListener? | Context object to call the event handler with. Defaults to this sap.suite.ui.commons.DateRangeSliderInternal .itself. |
{sap.suite.ui.commons.DateRangeSliderInternal} | this to allow method chaining |
fnFunction
from the 'change' event of this sap.suite.ui.commons.DateRangeSliderInternal
.The passed function and listener object must match the ones used for event registration.
{function} | fnFunction | The function to call, when the event occurs. |
{object} | oListener | Context object on which the given function had to be called. |
{sap.suite.ui.commons.DateRangeSliderInternal} | this to allow method chaining |
fnFunction
from the 'liveChange' event of this sap.suite.ui.commons.DateRangeSliderInternal
.The passed function and listener object must match the ones used for event registration.
{function} | fnFunction | The function to call, when the event occurs. |
{object} | oListener | Context object on which the given function had to be called. |
{sap.suite.ui.commons.DateRangeSliderInternal} | this to allow method chaining |
{Map} | mArguments? | the arguments to pass along with the event. |
{sap.suite.ui.commons.DateRangeSliderInternal} | this to allow method chaining |
{Map} | mArguments? | the arguments to pass along with the event. |
{sap.suite.ui.commons.DateRangeSliderInternal} | this to allow method chaining |
pinGrip
. Property to pin Grip (left grip) of the slider so that user cannot move it with key or mouse clicks. Default value is false
{boolean} | the value of property pinGrip |
pinGrip2
. Property to pin Grip2 (right grip) of the slider so that user cannot move it with key or mouse clicks. Default value is false
{boolean} | the value of property pinGrip2 |
showBubbles
. Property to show or hide bubbles. Default is true. Default value is true
{boolean} | the value of property showBubbles |
pinGrip
. Default value is false
{boolean} | bPinGrip | new value for property pinGrip |
{sap.suite.ui.commons.DateRangeSliderInternal} | this to allow method chaining |
pinGrip2
. Default value is false
{boolean} | bPinGrip2 | new value for property pinGrip2 |
{sap.suite.ui.commons.DateRangeSliderInternal} | this to allow method chaining |
showBubbles
. Default value is true
{boolean} | bShowBubbles | new value for property showBubbles |
{sap.suite.ui.commons.DateRangeSliderInternal} | this to allow method chaining |