abstract class sap.m.SliderTooltipBase

Control sample: sap.m.SliderTooltipBase
Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Module: sap/m/SliderTooltipBase
Application Component: CA-UI5-CTR

A Control that visualizes Slider and RangeSlider tooltips.


Constructor

Constructor for a new SliderTooltipBase.

Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject#constructor for a general description of the syntax of the settings object.

This class does not have its own settings, but all settings applicable to the base type sap.ui.core.Control can be used.

new sap.m.SliderTooltipBase(sId?, mSettings?)
Param Type Default Value Description
sId? string

ID for the new control, generated automatically if no ID is given

mSettings? object

Initial settings for the new control


Methods Overview

Method Description
sap.m.SliderTooltipBase.extend

Creates a new subclass of class sap.m.SliderTooltipBase with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.ui.core.Control.extend.

sap.m.SliderTooltipBase.getMetadata

Returns a metadata object for class sap.m.SliderTooltipBase.

getValue

Gets the value of the tooltip.

setValue

Updates value of the tooltip.

sliderValueChanged

Called once the value of the Slider is changed by interaction.

sap.m.SliderTooltipBase.extend

Creates a new subclass of class sap.m.SliderTooltipBase with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.ui.core.Control.extend.

Param Type DefaultValue Description
sClassName string

Name of the class being created

oClassInfo object

Object literal with information about the class

FNMetaImpl function

Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class

sap.m.SliderTooltipBase.getMetadata

Returns a metadata object for class sap.m.SliderTooltipBase.

getValue

Gets the value of the tooltip.

setValue

Updates value of the tooltip.

Param Type DefaultValue Description
fValue float

The new value

sliderValueChanged

Called once the value of the Slider is changed by interaction.

Param Type DefaultValue Description
fValue float

The new Slider value