Class sap.m.CustomTileModule: sap/m/CustomTile

extends Tile
known direct subclasses: PictureTile, PictureTile

Use the CustomTile control to display application specific content in the Tile control. The tile width is 8.5em and height is 10em.


Since: 1.12.
Constructor Summary
new sap.m.CustomTile(sId?, mSettings?)Constructor for a new CustomTile.
Events borrowed from class sap.m.Tile
Events borrowed from class sap.ui.core.Control
Method Summary
sap.m.CustomTile.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.m.CustomTile with name sClassName and enriches it with the information contained in oClassInfo.
sap.m.CustomTile.getMetadata()Returns a metadata object for class sap.m.CustomTile.
destroyContent()Destroys the content in the aggregation content.
getContent()Gets content of aggregation content.
setContent(oContent)Sets the aggregated content.
Constructor Detail
new sap.m.CustomTile(sId?, mSettings?)
Constructor for a new CustomTile.

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:

  • Aggregations
    • content : sap.ui.core.Control (default)

In addition, all settings applicable to the base type sap.m.Tile can be used as well.

Parameters:
{string}sId? ID for the new control, generated automatically if no ID is given
{object}mSettings? Initial settings for the new control
Method Detail
sap.m.CustomTile.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.m.CustomTile with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.m.Tile.extend.

Parameters:
{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
Returns:
{function} Created class / constructor function
sap.m.CustomTile.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.m.CustomTile.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
destroyContent(): sap.m.CustomTile
Destroys the content in the aggregation content.
Returns:
{sap.m.CustomTile} Reference to this in order to allow method chaining
getContent(): sap.ui.core.Control
Gets content of aggregation content.

Defines the content of the CustomTile.

Returns:
{sap.ui.core.Control}
setContent(oContent): sap.m.CustomTile
Sets the aggregated content.
Parameters:
{sap.ui.core.Control}oContent The content to set
Returns:
{sap.m.CustomTile} Reference to this in order to allow method chaining