Class sap.suite.ui.commons.InfoTileModule: sap/suite/ui/commons/InfoTile
The tile control that displays the title, description, footer, and customizable main area.
Deprecated API:Since version 1.25. This control has been deprecated in favor of new sap.suite.ui.commons.GenericTile.
sClassName
and enriches it with the information contained in oClassInfo
.fnFunction
to the 'press' event of this sap.suite.ui.commons.InfoTile
.fnFunction
from the 'press' event of this sap.suite.ui.commons.InfoTile
. Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers.
If the name of a setting is ambiguous (e.g. a property has the same name as an event), then the framework assumes property, aggregation, association, event in that order. To override this automatic resolution, one of the prefixes "aggregation:", "association:" or "event:" can be added to the name of the setting (such a prefixed name must be enclosed in single or double quotes).
The supported settings are:
- Properties
- description : string
- title : string
- footer : string
- size : sap.suite.ui.commons.InfoTileSize (default: "Auto")
- state : sap.suite.ui.commons.LoadState (default: sap.suite.ui.commons.LoadState.Loading)
- Aggregations
- content : sap.ui.core.Control
- Associations
- Events
- press : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
{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.25. This control has been deprecated in favor of new sap.suite.ui.commons.GenericTile.
{sap.ui.base.Event} | oControlEvent | |
{sap.ui.base.EventProvider} | oControlEvent.getSource | |
{object} | oControlEvent.getParameters |
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of informations as described in Element.extend.
{string} | sClassName | name of the class to be created |
{object} | oClassInfo? | object literal with informations about the class |
{function} | FNMetaImpl? | constructor function for the metadata object. If not given, it defaults to sap.ui.core.ElementMetadata. |
{function} | the created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
fnFunction
to the 'press' event of this sap.suite.ui.commons.InfoTile
.. When called, the context of the event handler (its
this
) will be bound to oListener if specified otherwise to this sap.suite.ui.commons.InfoTile
.
itself. The event is fired when the user chooses the tile.
{object} | oData? | An application specific payload object, that will be passed to the event handler along with the event object when firing the event. |
{function} | fnFunction | The function to call, when the event occurs. |
{object} | oListener? | Context object to call the event handler with. Defaults to this sap.suite.ui.commons.InfoTile .itself. |
{sap.suite.ui.commons.InfoTile} | this to allow method chaining |
content
. {sap.suite.ui.commons.InfoTile} | this to allow method chaining |
fnFunction
from the 'press' event of this sap.suite.ui.commons.InfoTile
.The passed function and listener object must match the ones used for event registration.
{function} | fnFunction | The function to call, when the event occurs. |
{object} | oListener | Context object on which the given function had to be called. |
{sap.suite.ui.commons.InfoTile} | this to allow method chaining |
{Map} | mArguments? | the arguments to pass along with the event. |
{sap.suite.ui.commons.InfoTile} | this to allow method chaining |
content
.The switchable view that depends on the tile type.
{sap.ui.core.Control} |
description
. Shows the description of the selected tile. Default value is empty/undefined
{string} | the value of property description |
footer
. The footer text of the tile. Default value is empty/undefined
{string} | the value of property footer |
size
. Updates the size of the tile. If not set then the default size is applied based on the device tile. Default value is "Auto"
{sap.suite.ui.commons.InfoTileSize} | the value of property size |
state
. Indicates the load status. Default value is Loading
{sap.suite.ui.commons.LoadState} | the value of property state |
title
. The title of the tile. Default value is empty/undefined
{string} | the value of property title |
content
. {sap.ui.core.Control} | oContent |
{sap.suite.ui.commons.InfoTile} | this to allow method chaining |
description
. Default value is empty/undefined
{string} | sDescription | new value for property description |
{sap.suite.ui.commons.InfoTile} | this to allow method chaining |
footer
. Default value is empty/undefined
{string} | sFooter | new value for property footer |
{sap.suite.ui.commons.InfoTile} | this to allow method chaining |
size
. Default value is "Auto"
{sap.suite.ui.commons.InfoTileSize} | oSize | new value for property size |
{sap.suite.ui.commons.InfoTile} | this to allow method chaining |
state
. Default value is Loading
{sap.suite.ui.commons.LoadState} | oState | new value for property state |
{sap.suite.ui.commons.InfoTile} | this to allow method chaining |
title
. Default value is empty/undefined
{string} | sTitle | new value for property title |
{sap.suite.ui.commons.InfoTile} | this to allow method chaining |