class sap.m.CustomTile

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

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


Constructor

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#constructor for a general description of the syntax of the settings object.

new sap.m.CustomTile(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

Borrowed Properties

Name Type Default Value Description
removable boolean true

Determines whether the tile is movable within the surrounding tile container. The remove event is fired by the tile container.

Visibility: public

Aggregations

Default Aggregation: content

Name Cardinality Type Description
content (default) 0..1 sap.ui.core.Control

Defines the content of the CustomTile.


Methods Overview

Method Description
destroyContent

Destroys the content in the aggregation content.

sap.m.CustomTile.extend

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.

getContent

Gets content of aggregation content.

Defines the content of the CustomTile.

sap.m.CustomTile.getMetadata

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

setContent

Sets the aggregated content.

destroyContent

Destroys the content in the aggregation content.

sap.m.CustomTile.extend

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.

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

getContent

Gets content of aggregation content.

Defines the content of the CustomTile.

sap.m.CustomTile.getMetadata

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

setContent

Sets the aggregated content.

Param Type DefaultValue Description
oContent sap.ui.core.Control

The content to set