Constructor for a new Wrapper. The Wrapper 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.
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.mdc.p13n.panels.Wrapper()
Method | Description |
---|---|
sap.ui.mdc.p13n.panels.Wrapper.extend |
Creates a new subclass of class sap.ui.mdc.p13n.panels.Wrapper with name
|
getListLayout |
Gets current value of property listLayout. Default value is |
sap.ui.mdc.p13n.panels.Wrapper.getMetadata |
Returns a metadata object for class sap.ui.mdc.p13n.panels.Wrapper. |
setListLayout |
Sets a new value for property listLayout. When called with a value of Default value is |
Creates a new subclass of class sap.ui.mdc.p13n.panels.Wrapper 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.mdc.ui.Container.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 |
Returns a metadata object for class sap.ui.mdc.p13n.panels.Wrapper.
Sets a new value for property listLayout.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is false
.
Param | Type | DefaultValue | Description |
---|---|---|---|
sListLayout | Boolean | false |
New value for property |