Class sap.ui.vk.ContainerContentModule: sap/ui/vk/ContainerContent

extends Control

Aggregation element for the Container Base

Experimental API:Since 1.38.0 This class is experimental and might be modified or removed in future versions.

Constructor Summary
new sap.ui.vk.ContainerContent(sId?, mSettings?)Constructor for a new ContainerContent.
Events borrowed from class sap.ui.core.Control
Method Summary
sap.ui.vk.ContainerContent.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.vk.ContainerContent with name sClassName and enriches it with the information contained in oClassInfo.
sap.ui.vk.ContainerContent.getMetadata()Returns a metadata object for class sap.ui.vk.ContainerContent.
destroyContent()Destroys the content in the aggregation content.
getContent()Gets content of aggregation content.
getIcon()Gets current value of property icon.
getTitle()Gets current value of property title.
setContent(oContent)Sets the aggregated content.
setIcon(sIcon)Sets a new value for property icon.
setTitle(sTitle)Sets a new value for property title.
Constructor Detail
new sap.ui.vk.ContainerContent(sId?, mSettings?)
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 for a general description of the syntax of the settings object.

The supported settings are:

  • Properties
  • Aggregations

In addition, all settings applicable to the base type sap.ui.core.Control 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.ui.vk.ContainerContent.extend(sClassName, oClassInfo?, FNMetaImpl?): function
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.

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.ui.vk.ContainerContent.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.vk.ContainerContent.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
destroyContent(): sap.ui.vk.ContainerContent
Destroys the content in the aggregation content.
Returns:
{sap.ui.vk.ContainerContent} Reference to this in order to allow method chaining
getContent(): sap.ui.core.Control
Gets content of aggregation content.
Returns:
{sap.ui.core.Control}
getIcon(): string
Gets current value of property icon.

Icon to show up in the toolbar

Returns:
{string} Value of property icon
getTitle(): string
Gets current value of property title.

Title for the icon in the toolbar

Returns:
{string} Value of property title
setContent(oContent): sap.ui.vk.ContainerContent
Sets the aggregated content.
Parameters:
{sap.ui.core.Control}oContent The content to set
Returns:
{sap.ui.vk.ContainerContent} Reference to this in order to allow method chaining
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.

Parameters:
{string}sIcon New value for property icon
Returns:
{sap.ui.vk.ContainerContent} Reference to this in order to allow method chaining
setTitle(sTitle): sap.ui.vk.ContainerContent
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.

Parameters:
{string}sTitle New value for property title
Returns:
{sap.ui.vk.ContainerContent} Reference to this in order to allow method chaining