class sap.m.p13n.Container

Control sample: sap.m.p13n.Container
Visiblity: restricted
UX Guidelines:
Implements:
Available since: N/A
Module: sap/m/p13n/Container
Application Component: CA-UI5-CTR

This control serves as base class for personalization implementations. This base class is faceless and should be inherited to implement control specific personalization panels. Constructor for a new Container. The Container can be used to dynamically add personalization content to a switchable layout container, by allowing to switch the content using an IconTabBar or a List control, depending on the desired layout mode.


Constructor

Constructor for a new Container.

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.p13n.Container(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
listLayout Boolean false Visibility: public

Methods Overview

Method Description
sap.m.p13n.Container.extend

Creates a new subclass of class sap.m.p13n.Container 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.p13n.AbstractContainer.extend.

getListLayout

Gets current value of property listLayout.

Default value is false.

sap.m.p13n.Container.getMetadata

Returns a metadata object for class sap.m.p13n.Container.

sap.m.p13n.Container.extend

Creates a new subclass of class sap.m.p13n.Container 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.p13n.AbstractContainer.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

getListLayout

Gets current value of property listLayout.

Default value is false.

sap.m.p13n.Container.getMetadata

Returns a metadata object for class sap.m.p13n.Container.