class sap.m.IconTabSeparator

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

Represents an Icon used to separate 2 tab filters.


Constructor

Constructor for a new IconTabSeparator.

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.IconTabSeparator(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


Properties

Name Type Default Value Description
icon sap.ui.core.URI empty string

The icon to display for this separator. If no icon is given, a separator line is used instead.

Visibility: public
iconDensityAware boolean true

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.

Visibility: public
visible boolean true

Specifies whether the separator is rendered.

Visibility: public

Methods Overview

Method Description
sap.m.IconTabSeparator.extend

Creates a new subclass of class sap.m.IconTabSeparator 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.Element.extend.

getIcon

Gets current value of property icon.

The icon to display for this separator. If no icon is given, a separator line is used instead.

Default value is empty string.

getIconDensityAware

Gets current value of property 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.

sap.m.IconTabSeparator.getMetadata

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

getVisible

Gets current value of property visible.

Specifies whether the separator is rendered.

Default value is true.

render

Renders the item in the IconTabHeader.

renderInSelectList

Renders this item in the IconTabSelectList.

setIcon

Sets a new value for property icon.

The icon to display for this separator. If no icon is given, a separator line is used instead.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is empty string.

setIconDensityAware

Sets a new value for property 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.

setVisible

Sets a new value for property visible.

Specifies whether the separator is rendered.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is true.

sap.m.IconTabSeparator.extend

Creates a new subclass of class sap.m.IconTabSeparator 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.Element.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

getIcon

Gets current value of property icon.

The icon to display for this separator. If no icon is given, a separator line is used instead.

Default value is empty string.

getIconDensityAware

Gets current value of property 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.

sap.m.IconTabSeparator.getMetadata

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

getVisible

Gets current value of property visible.

Specifies whether the separator is rendered.

Default value is true.

render

Renders the item in the IconTabHeader.

Param Type DefaultValue Description
oRM sap.ui.core.RenderManager

the RenderManager that can be used for writing to the render output buffer

renderInSelectList

Renders this item in the IconTabSelectList.

Param Type DefaultValue Description
oRM sap.ui.core.RenderManager

RenderManager used for writing to the render output buffer

oSelectList sap.m.IconTabBarSelectList

the select list in which this filter is rendered

iIndexInSet int

this item's index within the aggregation of items

iSetSize int

total length of the aggregation of items

fPaddingValue float

the padding with which the item should be indented

setIcon

Sets a new value for property icon.

The icon to display for this separator. If no icon is given, a separator line is used instead.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is empty string.

Param Type DefaultValue Description
sIcon sap.ui.core.URI ''

New value for property icon

setIconDensityAware

Sets a new value for property 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.

Param Type DefaultValue Description
bIconDensityAware boolean true

New value for property iconDensityAware

setVisible

Sets a new value for property visible.

Specifies whether the separator is rendered.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is true.

Param Type DefaultValue Description
bVisible boolean true

New value for property visible