Displays header, subheader, and a customizable main area in a tile format. Since 1.44, also an in-line format which contains only header and subheader is supported.
Constructor for a new sap.m.GenericTile control.
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.GenericTile(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 |
---|---|---|---|
additionalTooltip | string | Tooltip text which is added at the tooltip generated by the control. |
|
appShortcut | string | Application information such as ID/Shortcut |
|
ariaLabel | string | Additional description for aria-label. The aria-label is rendered before the standard aria-label. |
|
ariaRole | string | Additional description for aria-role. |
|
ariaRoleDescription | string | Additional description for aria-roledescription. |
|
backgroundColor | sap.ui.core.CSSColor | Background color of the GenericTile. Only applicable for IconMode. |
|
backgroundImage | sap.ui.core.URI | The URI of the background image. Visibility: public |
|
enableNavigationButton | boolean | false | Renders the given link as a button, enabling the option of opening the link in new tab/window functionality. Works only in ArticleMode. Visibility: public |
failedText | string | The message that appears when the control is in the Failed state. Visibility: public |
|
frameType | sap.m.FrameType | OneByOne | The FrameType: OneByOne, TwoByOne, OneByHalf, or TwoByHalf. Default set to OneByOne if property is not defined or set to Auto by the app. Visibility: public |
header | string | The header of the tile. Visibility: public |
|
headerImage | sap.ui.core.URI | The image to be displayed as a graphical element within the header. This can be an image or an icon from the icon font. Visibility: public |
|
imageDescription | string | Description of a header image that is used in the tooltip. Visibility: public |
|
mode | sap.m.GenericTileMode | ContentMode | The mode of the GenericTile. Visibility: public |
navigationButtonText | string | Text for navigate action button. Default Value is "Read More". Works only in ArticleMode. Visibility: public |
|
pressEnabled | boolean | true | Disables press event for the tile control. Visibility: public |
scope | sap.m.GenericTileScope | Display | Changes the visualization in order to enable additional actions with the Generic Tile. |
size | sap.m.Size | Auto | The size of the tile. If not set, then the default size is applied based on the device. Visibility: public |
sizeBehavior | sap.m.TileSizeBehavior | Responsive | If set to |
state | sap.m.LoadState | Loaded | The load status. Visibility: public |
subheader | string | The subheader of the tile. Visibility: public |
|
systemInfo | string | Backend system context information |
|
tileIcon | sap.ui.core.URI | Icon of the GenericTile. Only applicable for IconMode. |
|
url | sap.ui.core.URI | Renders the given link as root element and therefore enables the open in new tab / window functionality |
|
valueColor | sap.m.ValueColor | None | The semantic color of the value. |
width | sap.ui.core.CSSSize | Width of the control. |
|
wrappingType | sap.m.WrappingType | Normal | Defines the type of text wrapping to be used (hyphenated or normal). |
Default Aggregation: tileContent
Name | Cardinality | Type | Description |
---|---|---|---|
_failedMessageText | 0..1 | sap.m.Text |
The hidden aggregation for the message in the failed state. |
_tileIcon | 0..1 | sap.ui.core.Icon |
The hidden aggregation for the Tile Icon Works only in IconMode. |
_tileIconImage | 0..1 | sap.m.Image |
The hidden aggregation for the Tile Icon Image. Works only in IconMode. |
_titleText | 0..1 | sap.m.Text |
The hidden aggregation for the title. |
actionButtons | 0..n | sap.m.Button |
Action buttons added in ActionMode. |
icon | 0..1 | sap.ui.core.Control |
An icon or image to be displayed in the control. This aggregation is deprecated since version 1.36.0, to display an icon or image use sap.m.ImageContent control instead. |
tileContent (default) | 0..n | sap.m.TileContent |
The content of the tile. |
The event is triggered when the user presses the tile.
Param | Type | Description |
---|---|---|
oControlEvent | sap.ui.base.Event | |
getSource | sap.ui.base.EventProvider | |
getParameters | object | |
scope | sap.m.GenericTileScope |
The current scope the GenericTile was in when the event occurred. |
action | string |
The action that was pressed on the tile. In the Actions scope, the available actions are Press and Remove. In Display scope, the parameter value is only Press. |
domRef | any |
The pressed DOM Element pointing to the GenericTile's DOM Element in Display scope. In Actions scope it points to the more icon, when the tile is pressed, or to the DOM Element of the remove button, when the remove button is pressed. |
Method | Description |
---|---|
addActionButton |
Adds some actionButton to the aggregation actionButtons. |
addTileContent |
Adds some tileContent to the aggregation tileContent. |
attachPress |
Attaches event handler When called, the context of the event handler (its The event is triggered when the user presses the tile. |
bindActionButtons |
Binds aggregation actionButtons to model data. See ManagedObject.bindAggregation for a detailed description of the possible properties of |
bindTileContent |
Binds aggregation tileContent to model data. See ManagedObject.bindAggregation for a detailed description of the possible properties of |
destroyActionButtons |
Destroys all the actionButtons in the aggregation actionButtons. |
destroyIcon |
Destroys the icon in the aggregation icon.
Since 1.36.0 This aggregation is deprecated, use sap.m.ImageContent control to display an icon instead.
|
destroyTileContent |
Destroys all the tileContent in the aggregation tileContent. |
detachPress |
Detaches event handler The passed function and listener object must match the ones used for event registration. |
sap.m.GenericTile.extend |
Creates a new subclass of class sap.m.GenericTile with name
|
firePress |
Fires event press to attached listeners. |
getActionButtons |
Gets content of aggregation actionButtons. Action buttons added in ActionMode. |
getAdditionalTooltip |
Gets current value of property additionalTooltip. Tooltip text which is added at the tooltip generated by the control. |
getAppShortcut |
Gets current value of property appShortcut. Application information such as ID/Shortcut |
getAriaLabel |
Gets current value of property ariaLabel. Additional description for aria-label. The aria-label is rendered before the standard aria-label. |
getAriaRole |
Gets current value of property ariaRole. Additional description for aria-role. |
getAriaRoleDescription |
Gets current value of property ariaRoleDescription. Additional description for aria-roledescription. |
getBackgroundColor |
Gets current value of property backgroundColor. Background color of the GenericTile. Only applicable for IconMode. |
getBackgroundImage |
Gets current value of property backgroundImage. The URI of the background image. |
getBoundingRects |
Provides an interface to the tile's layout information consistent in all modes and content densities. |
getEnableNavigationButton |
Gets current value of property enableNavigationButton. Renders the given link as a button, enabling the option of opening the link in new tab/window functionality. Works only in ArticleMode. Default value is |
getFailedText |
Gets current value of property failedText. The message that appears when the control is in the Failed state. |
getFrameType |
Gets current value of property frameType. The FrameType: OneByOne, TwoByOne, OneByHalf, or TwoByHalf. Default set to OneByOne if property is not defined or set to Auto by the app. Default value is |
getHeader |
Gets current value of property header. The header of the tile. |
getHeaderImage |
Gets current value of property headerImage. The image to be displayed as a graphical element within the header. This can be an image or an icon from the icon font. |
getIcon |
Gets content of aggregation icon. An icon or image to be displayed in the control. This aggregation is deprecated since version 1.36.0, to display an icon or image use sap.m.ImageContent control instead.
Since 1.36.0 This aggregation is deprecated, use sap.m.ImageContent control to display an icon instead.
|
getImageDescription |
Gets current value of property imageDescription. Description of a header image that is used in the tooltip. |
sap.m.GenericTile.getMetadata |
Returns a metadata object for class sap.m.GenericTile. |
getMode |
Gets current value of property mode. The mode of the GenericTile. Default value is |
getNavigationButtonText |
Gets current value of property navigationButtonText. Text for navigate action button. Default Value is "Read More". Works only in ArticleMode. |
getPressEnabled |
Gets current value of property pressEnabled. Disables press event for the tile control. Default value is |
getScope |
Gets current value of property scope. Changes the visualization in order to enable additional actions with the Generic Tile. Default value is |
getSize |
Gets current value of property size. The size of the tile. If not set, then the default size is applied based on the device. Default value is
Since 1.38.0 The GenericTile control has now a fixed size, depending on the used media (desktop, tablet or phone).
|
getSizeBehavior |
Gets current value of property sizeBehavior. If set to Default value is |
getState |
Gets current value of property state. The load status. Default value is |
getSubheader |
Gets current value of property subheader. The subheader of the tile. |
getSystemInfo |
Gets current value of property systemInfo. Backend system context information |
getTileContent |
Gets content of aggregation tileContent. The content of the tile. |
getTileIcon |
Gets current value of property tileIcon. Icon of the GenericTile. Only applicable for IconMode. |
getUrl |
Gets current value of property url. Renders the given link as root element and therefore enables the open in new tab / window functionality |
getValueColor |
Gets current value of property valueColor. The semantic color of the value. Default value is |
getWidth |
Gets current value of property width. Width of the control. |
getWrappingType |
Gets current value of property wrappingType. Defines the type of text wrapping to be used (hyphenated or normal). Default value is |
indexOfActionButton |
Checks for the provided |
indexOfTileContent |
Checks for the provided |
insertActionButton |
Inserts a actionButton into the aggregation actionButtons. |
insertTileContent |
Inserts a tileContent into the aggregation tileContent. |
removeActionButton |
Removes a actionButton from the aggregation actionButtons. |
removeAllActionButtons |
Removes all the controls from the aggregation actionButtons. Additionally, it unregisters them from the hosting UIArea. |
removeAllTileContent |
Removes all the controls from the aggregation tileContent. Additionally, it unregisters them from the hosting UIArea. |
removeTileContent |
Removes a tileContent from the aggregation tileContent. |
setAdditionalTooltip |
Sets a new value for property additionalTooltip. Tooltip text which is added at the tooltip generated by the control. When called with a value of |
setAppShortcut |
Sets a new value for property appShortcut. Application information such as ID/Shortcut When called with a value of |
setAriaLabel |
Sets a new value for property ariaLabel. Additional description for aria-label. The aria-label is rendered before the standard aria-label. When called with a value of |
setAriaRole |
Sets a new value for property ariaRole. Additional description for aria-role. When called with a value of |
setAriaRoleDescription |
Sets a new value for property ariaRoleDescription. Additional description for aria-roledescription. When called with a value of |
setBackgroundColor |
Sets a new value for property backgroundColor. Background color of the GenericTile. Only applicable for IconMode. When called with a value of |
setBackgroundImage |
Sets a new value for property backgroundImage. The URI of the background image. When called with a value of |
setEnableNavigationButton |
Sets a new value for property enableNavigationButton. Renders the given link as a button, enabling the option of opening the link in new tab/window functionality. Works only in ArticleMode. When called with a value of Default value is |
setFailedText |
Sets a new value for property failedText. The message that appears when the control is in the Failed state. When called with a value of |
setFrameType |
Sets a new value for property frameType. The FrameType: OneByOne, TwoByOne, OneByHalf, or TwoByHalf. Default set to OneByOne if property is not defined or set to Auto by the app. When called with a value of Default value is |
setHeader |
Sets a new value for property header. The header of the tile. When called with a value of |
setHeaderImage |
Sets a new value for property headerImage. The image to be displayed as a graphical element within the header. This can be an image or an icon from the icon font. When called with a value of |
setIcon |
Sets the aggregated icon.
Since 1.36.0 This aggregation is deprecated, use sap.m.ImageContent control to display an icon instead.
|
setImageDescription |
Sets a new value for property imageDescription. Description of a header image that is used in the tooltip. When called with a value of |
setMode |
Sets a new value for property mode. The mode of the GenericTile. When called with a value of Default value is |
setNavigationButtonText |
Sets a new value for property navigationButtonText. Text for navigate action button. Default Value is "Read More". Works only in ArticleMode. When called with a value of |
setPressEnabled |
Provides an interface to switch on or off the tile's press event. Used in SlideTile for Actions scope. |
setScope |
Sets a new value for property scope. Changes the visualization in order to enable additional actions with the Generic Tile. When called with a value of Default value is |
setSize |
Sets a new value for property size. The size of the tile. If not set, then the default size is applied based on the device. When called with a value of Default value is
Since 1.38.0 The GenericTile control has now a fixed size, depending on the used media (desktop, tablet or phone).
|
setSizeBehavior |
Sets a new value for property sizeBehavior. If set to When called with a value of Default value is |
setState |
Sets a new value for property state. The load status. When called with a value of Default value is |
setSubheader |
Sets a new value for property subheader. The subheader of the tile. When called with a value of |
setSystemInfo |
Sets a new value for property systemInfo. Backend system context information When called with a value of |
setTileIcon |
Sets a new value for property tileIcon. Icon of the GenericTile. Only applicable for IconMode. When called with a value of |
setUrl |
Sets a new value for property url. Renders the given link as root element and therefore enables the open in new tab / window functionality When called with a value of |
setValueColor |
Sets a new value for property valueColor. The semantic color of the value. When called with a value of Default value is |
setWidth |
Sets a new value for property width. Width of the control. When called with a value of |
setWrappingType |
Sets a new value for property wrappingType. Defines the type of text wrapping to be used (hyphenated or normal). When called with a value of Default value is |
showActionsView |
Shows the actions scope view of GenericTile without changing the scope. Used in SlideTile for Actions scope. |
unbindActionButtons |
Unbinds aggregation actionButtons from model data. |
unbindTileContent |
Unbinds aggregation tileContent from model data. |
Adds some actionButton to the aggregation actionButtons.
Param | Type | DefaultValue | Description |
---|---|---|---|
oActionButton | sap.m.Button |
The actionButton to add; if empty, nothing is inserted |
Adds some tileContent to the aggregation tileContent.
Param | Type | DefaultValue | Description |
---|---|---|---|
oTileContent | sap.m.TileContent |
The tileContent to add; if empty, nothing is inserted |
Attaches event handler fnFunction
to the press event of this sap.m.GenericTile
.
When called, the context of the event handler (its this
) will be bound to oListener
if specified, otherwise it will be bound to this sap.m.GenericTile
itself.
The event is triggered when the user presses the tile.
Param | Type | DefaultValue | Description |
---|---|---|---|
oData | object |
An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
|
fnFunction | function(sap.ui.base.Event) : void |
The function to be called when the event occurs |
|
oListener | object |
Context object to call the event handler with. Defaults to this |
Binds aggregation actionButtons to model data.
See ManagedObject.bindAggregation for a detailed description of the possible properties of oBindingInfo
.
Param | Type | DefaultValue | Description |
---|---|---|---|
oBindingInfo | sap.ui.base.ManagedObject.AggregationBindingInfo |
The binding information |
Binds aggregation tileContent to model data.
See ManagedObject.bindAggregation for a detailed description of the possible properties of oBindingInfo
.
Param | Type | DefaultValue | Description |
---|---|---|---|
oBindingInfo | sap.ui.base.ManagedObject.AggregationBindingInfo |
The binding information |
Destroys the icon in the aggregation icon.
Detaches event handler fnFunction
from the press event of this sap.m.GenericTile
.
The passed function and listener object must match the ones used for event registration.
Param | Type | DefaultValue | Description |
---|---|---|---|
fnFunction | function(sap.ui.base.Event) : void |
The function to be called, when the event occurs |
|
oListener | object |
Context object on which the given function had to be called |
Creates a new subclass of class sap.m.GenericTile 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 |
Fires event press to attached listeners.
Param | Type | DefaultValue | Description |
---|---|---|---|
mParameters | object |
Parameters to pass along with the event |
|
scope | sap.m.GenericTileScope |
The current scope the GenericTile was in when the event occurred. |
|
action | string |
The action that was pressed on the tile. In the Actions scope, the available actions are Press and Remove. In Display scope, the parameter value is only Press. |
|
domRef | any |
The pressed DOM Element pointing to the GenericTile's DOM Element in Display scope. In Actions scope it points to the more icon, when the tile is pressed, or to the DOM Element of the remove button, when the remove button is pressed. |
Gets current value of property additionalTooltip.
Tooltip text which is added at the tooltip generated by the control.
Gets current value of property appShortcut.
Application information such as ID/Shortcut
Gets current value of property ariaLabel.
Additional description for aria-label. The aria-label is rendered before the standard aria-label.
Gets current value of property ariaRoleDescription.
Additional description for aria-roledescription.
Gets current value of property backgroundColor.
Background color of the GenericTile. Only applicable for IconMode.
Provides an interface to the tile's layout information consistent in all modes and content densities.
Gets current value of property failedText.
The message that appears when the control is in the Failed state.
Gets current value of property frameType.
The FrameType: OneByOne, TwoByOne, OneByHalf, or TwoByHalf. Default set to OneByOne if property is not defined or set to Auto by the app.
Default value is OneByOne
.
Gets current value of property headerImage.
The image to be displayed as a graphical element within the header. This can be an image or an icon from the icon font.
Gets content of aggregation icon.
An icon or image to be displayed in the control. This aggregation is deprecated since version 1.36.0, to display an icon or image use sap.m.ImageContent control instead.
Gets current value of property imageDescription.
Description of a header image that is used in the tooltip.
Gets current value of property mode.
The mode of the GenericTile.
Default value is ContentMode
.
Gets current value of property pressEnabled.
Disables press event for the tile control.
Default value is true
.
Gets current value of property scope.
Changes the visualization in order to enable additional actions with the Generic Tile.
Default value is Display
.
Gets current value of property size.
The size of the tile. If not set, then the default size is applied based on the device.
Default value is Auto
.
Gets current value of property sizeBehavior.
If set to TileSizeBehavior.Small
, the tile size is the same as it would be on a small-screened phone (374px wide and lower), regardless of the screen size of the actual device being used. If set to TileSizeBehavior.Responsive
, the tile size adapts to the size of the screen.
Default value is Responsive
.
Gets current value of property tileIcon.
Icon of the GenericTile. Only applicable for IconMode.
Gets current value of property url.
Renders the given link as root element and therefore enables the open in new tab / window functionality
Gets current value of property valueColor.
The semantic color of the value.
Default value is "None"
.
Gets current value of property wrappingType.
Defines the type of text wrapping to be used (hyphenated or normal).
Default value is Normal
.
Checks for the provided sap.m.Button
in the aggregation actionButtons. and returns its index if found or -1 otherwise.
Param | Type | DefaultValue | Description |
---|---|---|---|
oActionButton | sap.m.Button |
The actionButton whose index is looked for |
Checks for the provided sap.m.TileContent
in the aggregation tileContent. and returns its index if found or -1 otherwise.
Param | Type | DefaultValue | Description |
---|---|---|---|
oTileContent | sap.m.TileContent |
The tileContent whose index is looked for |
Inserts a actionButton into the aggregation actionButtons.
Param | Type | DefaultValue | Description |
---|---|---|---|
oActionButton | sap.m.Button |
The actionButton to insert; if empty, nothing is inserted |
|
iIndex | int |
The |
Inserts a tileContent into the aggregation tileContent.
Param | Type | DefaultValue | Description |
---|---|---|---|
oTileContent | sap.m.TileContent |
The tileContent to insert; if empty, nothing is inserted |
|
iIndex | int |
The |
Removes a actionButton from the aggregation actionButtons.
Param | Type | DefaultValue | Description |
---|---|---|---|
vActionButton | int string sap.m.Button |
The actionButton to remove or its index or id |
Removes all the controls from the aggregation actionButtons.
Additionally, it unregisters them from the hosting UIArea.
Removes all the controls from the aggregation tileContent.
Additionally, it unregisters them from the hosting UIArea.
Removes a tileContent from the aggregation tileContent.
Param | Type | DefaultValue | Description |
---|---|---|---|
vTileContent | int string sap.m.TileContent |
The tileContent to remove or its index or id |
Sets a new value for property additionalTooltip.
Tooltip text which is added at the tooltip generated by the control.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sAdditionalTooltip | string |
New value for property |
Sets a new value for property appShortcut.
Application information such as ID/Shortcut
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sAppShortcut | string |
New value for property |
Sets a new value for property ariaLabel.
Additional description for aria-label. The aria-label is rendered before the standard aria-label.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sAriaLabel | string |
New value for property |
Sets a new value for property ariaRole.
Additional description for aria-role.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sAriaRole | string |
New value for property |
Sets a new value for property ariaRoleDescription.
Additional description for aria-roledescription.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sAriaRoleDescription | string |
New value for property |
Sets a new value for property backgroundColor.
Background color of the GenericTile. Only applicable for IconMode.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sBackgroundColor | sap.ui.core.CSSColor |
New value for property |
Sets a new value for property backgroundImage.
The URI of the background image.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sBackgroundImage | sap.ui.core.URI |
New value for property |
Sets a new value for property failedText.
The message that appears when the control is in the Failed state.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sFailedText | string |
New value for property |
Sets a new value for property frameType.
The FrameType: OneByOne, TwoByOne, OneByHalf, or TwoByHalf. Default set to OneByOne if property is not defined or set to Auto by the app.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is OneByOne
.
Param | Type | DefaultValue | Description |
---|---|---|---|
sFrameType | sap.m.FrameType | OneByOne |
New value for property |
Sets a new value for property header.
The header of the tile.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sHeader | string |
New value for property |
Sets a new value for property headerImage.
The image to be displayed as a graphical element within the header. This can be an image or an icon from the icon font.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sHeaderImage | sap.ui.core.URI |
New value for property |
Sets the aggregated icon.
Param | Type | DefaultValue | Description |
---|---|---|---|
oIcon | sap.ui.core.Control |
The icon to set |
Sets a new value for property imageDescription.
Description of a header image that is used in the tooltip.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sImageDescription | string |
New value for property |
Sets a new value for property mode.
The mode of the GenericTile.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is ContentMode
.
Param | Type | DefaultValue | Description |
---|---|---|---|
sMode | sap.m.GenericTileMode | ContentMode |
New value for property |
Provides an interface to switch on or off the tile's press event. Used in SlideTile for Actions scope.
Param | Type | DefaultValue | Description |
---|---|---|---|
value | boolean |
If set to true, the press event of the tile is active. |
Sets a new value for property scope.
Changes the visualization in order to enable additional actions with the Generic Tile.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is Display
.
Param | Type | DefaultValue | Description |
---|---|---|---|
sScope | sap.m.GenericTileScope | Display |
New value for property |
Sets a new value for property size.
The size of the tile. If not set, then the default size is applied based on the device.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is Auto
.
Param | Type | DefaultValue | Description |
---|---|---|---|
sSize | sap.m.Size | Auto |
New value for property |
Sets a new value for property sizeBehavior.
If set to TileSizeBehavior.Small
, the tile size is the same as it would be on a small-screened phone (374px wide and lower), regardless of the screen size of the actual device being used. If set to TileSizeBehavior.Responsive
, the tile size adapts to the size of the screen.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is Responsive
.
Param | Type | DefaultValue | Description |
---|---|---|---|
sSizeBehavior | sap.m.TileSizeBehavior | Responsive |
New value for property |
Sets a new value for property state.
The load status.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is Loaded
.
Param | Type | DefaultValue | Description |
---|---|---|---|
sState | sap.m.LoadState | Loaded |
New value for property |
Sets a new value for property subheader.
The subheader of the tile.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sSubheader | string |
New value for property |
Sets a new value for property systemInfo.
Backend system context information
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sSystemInfo | string |
New value for property |
Sets a new value for property tileIcon.
Icon of the GenericTile. Only applicable for IconMode.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sTileIcon | sap.ui.core.URI |
New value for property |
Sets a new value for property url.
Renders the given link as root element and therefore enables the open in new tab / window functionality
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sUrl | sap.ui.core.URI |
New value for property |
Sets a new value for property valueColor.
The semantic color of the value.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is "None"
.
Param | Type | DefaultValue | Description |
---|---|---|---|
sValueColor | sap.m.ValueColor | "None" |
New value for property |
Sets a new value for property width.
Width of the control.
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 |
Sets a new value for property wrappingType.
Defines the type of text wrapping to be used (hyphenated or normal).
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is Normal
.
Param | Type | DefaultValue | Description |
---|---|---|---|
sWrappingType | sap.m.WrappingType | Normal |
New value for property |