A picker list container control used to hold sliders of type sap.m.WheelSlider.
Constructor for a new WheelSliderContainer
.
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.
new sap.m.WheelSliderContainer(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 |
Name | Type | Default Value | Description |
---|---|---|---|
height | sap.ui.core.CSSSize | Sets the height of the container. If percentage value is used, the parent container must have specified height. Visibility: public |
|
labelText | string | Defines the text of the picker label. Visibility: public |
|
width | sap.ui.core.CSSSize | Sets the width of the container. The minimum width is 320px. Visibility: public |
Default Aggregation:
Name | Cardinality | Type | Description |
---|---|---|---|
sliders | 0..n | sap.m.WheelSlider |
The sliders in the container. |
Method | Description |
---|---|
addSlider |
Adds some slider to the aggregation sliders. |
destroySliders |
Destroys all the sliders in the aggregation sliders. |
sap.m.WheelSliderContainer.extend |
Creates a new subclass of class sap.m.WheelSliderContainer with name
|
getHeight |
Gets current value of property height. Sets the height of the container. If percentage value is used, the parent container must have specified height. |
getLabelText |
Gets current value of property labelText. Defines the text of the picker label. |
sap.m.WheelSliderContainer.getMetadata |
Returns a metadata object for class sap.m.WheelSliderContainer. |
getSliders |
Gets content of aggregation sliders. The sliders in the container. |
getWidth |
Gets current value of property width. Sets the width of the container. The minimum width is 320px. |
indexOfSlider |
Checks for the provided |
insertSlider |
Inserts a slider into the aggregation sliders. |
removeAllSliders |
Removes all the controls from the aggregation sliders. Additionally, it unregisters them from the hosting UIArea. |
removeSlider |
Removes a slider from the aggregation sliders. |
setHeight |
Sets a new value for property height. Sets the height of the container. If percentage value is used, the parent container must have specified height. When called with a value of |
setLabelText |
Sets a new value for property labelText. Defines the text of the picker label. When called with a value of |
setWidth |
Sets a new value for property width. Sets the width of the container. The minimum width is 320px. When called with a value of |
Adds some slider to the aggregation sliders.
Param | Type | DefaultValue | Description |
---|---|---|---|
oSlider | sap.m.WheelSlider |
The slider to add; if empty, nothing is inserted |
Creates a new subclass of class sap.m.WheelSliderContainer 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 |
Gets current value of property height.
Sets the height of the container. If percentage value is used, the parent container must have specified height.
Returns a metadata object for class sap.m.WheelSliderContainer.
Gets current value of property width.
Sets the width of the container. The minimum width is 320px.
Checks for the provided sap.m.WheelSlider
in the aggregation sliders. and returns its index if found or -1 otherwise.
Param | Type | DefaultValue | Description |
---|---|---|---|
oSlider | sap.m.WheelSlider |
The slider whose index is looked for |
Inserts a slider into the aggregation sliders.
Param | Type | DefaultValue | Description |
---|---|---|---|
oSlider | sap.m.WheelSlider |
The slider to insert; if empty, nothing is inserted |
|
iIndex | int |
The |
Removes all the controls from the aggregation sliders.
Additionally, it unregisters them from the hosting UIArea.
Removes a slider from the aggregation sliders.
Param | Type | DefaultValue | Description |
---|---|---|---|
vSlider | int string sap.m.WheelSlider |
The slider to remove or its index or id |
Sets a new value for property height.
Sets the height of the container. If percentage value is used, the parent container must have specified height.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sHeight | sap.ui.core.CSSSize |
New value for property |
Sets a new value for property labelText.
Defines the text of the picker label.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sLabelText | string |
New value for property |
Sets a new value for property width.
Sets the width of the container. The minimum width is 320px.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sWidth | sap.ui.core.CSSSize |
New value for property |