Use the CustomTile control to display application specific content in the Tile control. The tile width is 8.5em and height is 10em.
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 |
Default Aggregation: content
Name | Cardinality | Type | Description |
---|---|---|---|
content (default) | 0..1 | sap.ui.core.Control |
Defines the content of the CustomTile. |
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
|
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. |
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 |
Sets the aggregated content.
Param | Type | DefaultValue | Description |
---|---|---|---|
oContent | sap.ui.core.Control |
The content to set |