Class sap.ui.commons.TabModule: sap/ui/commons/Tab
Represents a single tab in a TabStrip control.
Deprecated API:Since version 1.38. Instead, use the sap.m.TabContainer control.
sClassName and enriches it with the information contained in oClassInfo. 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:
- Properties
- verticalScrolling : sap.ui.core.Scrolling (default: None)
- horizontalScrolling : sap.ui.core.Scrolling (default: None)
- closable : boolean (default: false)
- selected : boolean (default: false)
In addition, all settings applicable to the base type sap.ui.commons.Panel 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.38. Instead, use the
sap.m.TabContainercontrol.
sClassName and enriches it with the information contained in oClassInfo. oClassInfo might contain the same kind of information as described in sap.ui.commons.Panel.extend.
| {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 |
| {function} | Created class / constructor function |
| {sap.ui.base.Metadata} | Metadata object describing this class |
closable. Specifies whether the tab contains a close button.
Default value is false.
| {boolean} | Value of property closable |
horizontalScrolling. Specifies the horizontal scrolling.
Default value is None.
| {sap.ui.core.Scrolling} | Value of property horizontalScrolling |
verticalScrolling. Specifies the vertical scrolling.
Default value is None.
| {sap.ui.core.Scrolling} | Value of property verticalScrolling |
closable. Specifies whether the tab contains a close button.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is false.
| {boolean} | bClosable | New value for property closable |
| {sap.ui.commons.Tab} | Reference to this in order to allow method chaining |
horizontalScrolling. Specifies the horizontal scrolling.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is None.
| {sap.ui.core.Scrolling} | sHorizontalScrolling | New value for property horizontalScrolling |
| {sap.ui.commons.Tab} | Reference to this in order to allow method chaining |
verticalScrolling. Specifies the vertical scrolling.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is None.
| {sap.ui.core.Scrolling} | sVerticalScrolling | New value for property verticalScrolling |
| {sap.ui.commons.Tab} | Reference to this in order to allow method chaining |
selected. Defines whether the tab is the active one.
Default value is false.
- Deprecated:
- AS of 0.17.0. This property is not used. To identify the selected tab in a TabStrip selectedIndex is used.
| {boolean} | Value of property selected |
selected. Defines whether the tab is the active one.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is false.
| {boolean} | bSelected | New value for property selected |
- Deprecated:
- AS of 0.17.0. This property is not used. To identify the selected tab in a TabStrip selectedIndex is used.
| {sap.ui.commons.Tab} | Reference to this in order to allow method chaining |