A range slider is a user interface control that enables the user to select a value range in a predifined numerical interval.
Since: 1.38.
Method Summary
sap.m.RangeSlider.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.m.RangeSlider with name sClassName
and enriches it with the information contained in oClassInfo
. getRange()Gets current value of property range
. setRange(sRange)Sets a new value for property range
. addAriaLabelledBy,
attachChange,
attachLiveChange,
detachChange,
detachLiveChange,
fireChange,
fireLiveChange,
getAriaLabelledBy,
getEnabled,
getMax,
getMin,
getName,
getProgress,
getShowHandleTooltip,
getStep,
getValue,
getWidth,
removeAllAriaLabelledBy,
removeAriaLabelledBy,
setEnabled,
setMax,
setMin,
setName,
setProgress,
setShowHandleTooltip,
setStep,
setValue,
setWidth,
stepDown,
stepUp addStyleClass,
allowTextSelection,
attachBrowserEvent,
attachValidateFieldGroup,
checkFieldGroupIds,
clone,
detachBrowserEvent,
detachValidateFieldGroup,
fireValidateFieldGroup,
getAccessibilityInfo,
getBusy,
getBusyIndicatorDelay,
getControlsByFieldGroupId,
getFieldGroupIds,
getIdForLabel,
getRenderer,
getVisible,
hasStyleClass,
invalidate,
isBusy,
onAfterRendering,
onBeforeRendering,
placeAt,
removeStyleClass,
rerender,
setBusy,
setBusyIndicatorDelay,
setFieldGroupIds,
setVisible,
toggleStyleClass,
triggerValidateFieldGroup $,
addCustomData,
addDependent,
addEventDelegate,
applyFocusInfo,
bindElement,
data,
destroy,
destroyCustomData,
destroyDependents,
destroyLayoutData,
destroyTooltip,
enhanceAccessibilityState,
exit,
findElements,
fireEvent,
focus,
getCustomData,
getDependents,
getDomRef,
getElementBinding,
getFocusDomRef,
getFocusInfo,
getInterface,
getLayoutData,
getMetadata,
getTooltip,
getTooltip_AsString,
getTooltip_Text,
indexOfCustomData,
indexOfDependent,
init,
insertCustomData,
insertDependent,
prop,
removeAllCustomData,
removeAllDependents,
removeCustomData,
removeDependent,
removeEventDelegate,
setLayoutData,
setTooltip,
toString,
unbindElement addAggregation,
addAssociation,
applySettings,
attachFormatError,
attachModelContextChange,
attachParseError,
attachValidationError,
attachValidationSuccess,
bindAggregation,
bindContext,
bindObject,
bindProperty,
destroyAggregation,
detachFormatError,
detachModelContextChange,
detachParseError,
detachValidationError,
detachValidationSuccess,
findAggregatedObjects,
fireFormatError,
fireModelContextChange,
fireParseError,
fireValidationError,
fireValidationSuccess,
getAggregation,
getAssociation,
getBinding,
getBindingContext,
getBindingInfo,
getBindingPath,
getEventingParent,
getId,
getModel,
getObjectBinding,
getOriginInfo,
getParent,
getProperty,
hasModel,
indexOfAggregation,
insertAggregation,
isBound,
isInvalidateSuppressed,
isTreeBinding,
propagateMessages,
removeAggregation,
removeAllAggregation,
removeAllAssociation,
removeAssociation,
setAggregation,
setAssociation,
setBindingContext,
setModel,
setProperty,
unbindAggregation,
unbindContext,
unbindObject,
unbindProperty,
validateAggregation,
validateProperty Constructor Detail
new sap.m.RangeSlider(sId?, mSettings?)
Constructor for a new
sap.m.RangeSlider
.
Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.
The supported settings are:
In addition, all settings applicable to the base type sap.m.Slider can be used as well.
Parameters:
{string} | sId? | ID for the new control, generated automatically if no ID is given. |
{object} | mSettings? | Initial settings for the new control. |
Method Detail
sap.m.RangeSlider.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.m.RangeSlider with name
sClassName
and enriches it with the information contained in
oClassInfo
.
oClassInfo
might contain the same kind of information as described in sap.m.Slider.extend.
Parameters:
{string} | sClassName | Name of the class being created |
{object} | oClassInfo? | Object literal with information about the class |
{function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
Returns:
{function} | Created class / constructor function |
Returns a metadata object for class sap.m.RangeSlider.
Returns:
getInputsAsTooltips(): boolean
Gets current value of property
inputsAsTooltips
.
Indicates whether an Input fields should be used as tooltips for the handles.
Default value is false
.
Returns:
{boolean} | Value of property inputsAsTooltips |
getRange(): float[]
Gets current value of property
range
.
Determines the range in which the user can select values.
If the value is lower/higher than the allowed minimum/maximum, a warning message will be output to the console.
Default value is ???
.
Returns:
{float[]} | Value of property range |
Sets a new value for property
inputsAsTooltips
.
Indicates whether an Input fields should be used as tooltips for the handles.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is false
.
Parameters:
{boolean} | bInputsAsTooltips | New value for property inputsAsTooltips |
Returns:
Sets a new value for property
range
.
Determines the range in which the user can select values.
If the value is lower/higher than the allowed minimum/maximum, a warning message will be output to the console.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is ???
.
Parameters:
{float[]} | sRange | New value for property range |
Returns: