class sap.ui.vk.ContainerContent

Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/vk/ContainerContent
Application Component: CA-UI5-VTK

Aggregation element for the Container Base


Constructor

Constructor for a new ContainerContent.

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.ui.vk.ContainerContent(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


Properties

Name Type Default Value Description
icon string

Icon to show up in the toolbar

Visibility: public
title string

Title for the icon in the toolbar

Visibility: public

Aggregations

Default Aggregation:

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

Methods Overview

Method Description
destroyContent

Destroys the content in the aggregation content.

sap.ui.vk.ContainerContent.extend

Creates a new subclass of class sap.ui.vk.ContainerContent 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.

getContent

Gets content of aggregation content.

getIcon

Gets current value of property icon.

Icon to show up in the toolbar

sap.ui.vk.ContainerContent.getMetadata

Returns a metadata object for class sap.ui.vk.ContainerContent.

getTitle

Gets current value of property title.

Title for the icon in the toolbar

setContent

Sets the aggregated content.

setIcon

Sets a new value for property icon.

Icon to show up in the toolbar

When called with a value of null or undefined, the default value of the property will be restored.

setTitle

Sets a new value for property title.

Title for the icon in the toolbar

When called with a value of null or undefined, the default value of the property will be restored.

destroyContent

Destroys the content in the aggregation content.

sap.ui.vk.ContainerContent.extend

Creates a new subclass of class sap.ui.vk.ContainerContent 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

getContent

Gets content of aggregation content.

getIcon

Gets current value of property icon.

Icon to show up in the toolbar

sap.ui.vk.ContainerContent.getMetadata

Returns a metadata object for class sap.ui.vk.ContainerContent.

getTitle

Gets current value of property title.

Title for the icon in the toolbar

setContent

Sets the aggregated content.

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

The content to set

setIcon

Sets a new value for property icon.

Icon to show up in the toolbar

When called with a value of null or undefined, the default value of the property will be restored.

Param Type DefaultValue Description
sIcon string

New value for property icon

setTitle

Sets a new value for property title.

Title for the icon in the toolbar

When called with a value of null or undefined, the default value of the property will be restored.

Param Type DefaultValue Description
sTitle string

New value for property title