Class sap.m.IconTabFilterModule: sap/m/IconTabFilter
Represents a selectable item inside an IconTabBar.
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
- Aggregations
- content : sap.ui.core.Control[] (default)
In addition, all settings applicable to the base type sap.ui.core.Item 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 |
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in sap.ui.core.Item.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 |
content
. {sap.ui.core.Control} | oContent | the content to add; if empty, nothing is inserted |
- Since:
- 1.15.0
{sap.m.IconTabFilter} | Reference to this in order to allow method chaining |
content
. - Since:
- 1.15.0
{sap.m.IconTabFilter} | Reference to this in order to allow method chaining |
content
. The content displayed for this item (optional).
If this content is set, it is displayed instead of the general content inside the IconTabBar.
- Since:
- 1.15.0
{sap.ui.core.Control[]} |
count
. Represents the "count" text, which is displayed in the tab filter.
Default value is .
{string} | Value of property count |
design
. Specifies whether the icon and the texts are placed vertically or horizontally.
Default value is Vertical
.
{sap.m.IconTabFilterDesign} | Value of property design |
icon
. Specifies the icon to be displayed for the tab filter.
Default value is .
{sap.ui.core.URI} | Value of property icon |
iconColor
. Specifies the icon color.
If an icon font is used, the color can be chosen from the icon colors (sap.ui.core.IconColor). Possible semantic colors are: Neutral, Positive, Critical, Negative. Instead of the semantic icon color the brand color can be used, this is named Default. Semantic colors and brand colors should not be mixed up inside one IconTabBar.
Default value is Default
.
{sap.ui.core.IconColor} | Value of property iconColor |
iconDensityAware
. If set to true, it sends one or more requests, trying to get the density perfect version of the image if this version of the image doesn't exist on the server. Default value is set to true.
If bandwidth is key for the application, set this value to false.
Default value is true
.
{boolean} | Value of property iconDensityAware |
showAll
. Enables special visualization for disabled filter (show all items).
Default value is false
.
{boolean} | Value of property showAll |
visible
. Specifies whether the tab filter is rendered.
Default value is true
.
{boolean} | Value of property visible |
sap.ui.core.Control
in the aggregation content
. and returns its index if found or -1 otherwise. {sap.ui.core.Control} | oContent | The content whose index is looked for |
- Since:
- 1.15.0
{int} | The index of the provided control in the aggregation if found, or -1 otherwise |
content
. {sap.ui.core.Control} | oContent | the content to insert; if empty, nothing is inserted |
{int} | iIndex | the 0 -based index the content should be inserted at; for a negative value of iIndex , the content is inserted at position 0; for a value greater than the current size of the aggregation, the content is inserted at the last position |
- Since:
- 1.15.0
{sap.m.IconTabFilter} | Reference to this in order to allow method chaining |
content
. Additionally, it unregisters them from the hosting UIArea.
- Since:
- 1.15.0
{sap.ui.core.Control[]} | An array of the removed elements (might be empty) |
content
. {int|string|sap.ui.core.Control} | vContent | The contentto remove or its index or id |
- Since:
- 1.15.0
{sap.ui.core.Control} | The removed content or null |
count
. Represents the "count" text, which is displayed in the tab filter.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is .
{string} | sCount | New value for property count |
{sap.m.IconTabFilter} | Reference to this in order to allow method chaining |
design
. Specifies whether the icon and the texts are placed vertically or horizontally.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is Vertical
.
{sap.m.IconTabFilterDesign} | sDesign | New value for property design |
{sap.m.IconTabFilter} | Reference to this in order to allow method chaining |
icon
. Specifies the icon to be displayed for the tab filter.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is .
{sap.ui.core.URI} | sIcon | New value for property icon |
{sap.m.IconTabFilter} | Reference to this in order to allow method chaining |
iconColor
. Specifies the icon color.
If an icon font is used, the color can be chosen from the icon colors (sap.ui.core.IconColor). Possible semantic colors are: Neutral, Positive, Critical, Negative. Instead of the semantic icon color the brand color can be used, this is named Default. Semantic colors and brand colors should not be mixed up inside one IconTabBar.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is Default
.
{sap.ui.core.IconColor} | sIconColor | New value for property iconColor |
{sap.m.IconTabFilter} | Reference to this in order to allow method chaining |
iconDensityAware
. If set to true, it sends one or more requests, trying to get the density perfect version of the image if this version of the image doesn't exist on the server. Default value is set to true.
If bandwidth is key for the application, set this value to false.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
{boolean} | bIconDensityAware | New value for property iconDensityAware |
{sap.m.IconTabFilter} | Reference to this in order to allow method chaining |
showAll
. Enables special visualization for disabled filter (show all items).
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is false
.
{boolean} | bShowAll | New value for property showAll |
{sap.m.IconTabFilter} | Reference to this in order to allow method chaining |
visible
. Specifies whether the tab filter is rendered.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
{boolean} | bVisible | New value for property visible |
{sap.m.IconTabFilter} | Reference to this in order to allow method chaining |