Class sap.ui.commons.layout.BorderLayoutAreaModule: sap/ui/commons/layout/BorderLayoutArea
The BorderLayoutArea represents one area of a BorderLayout
Deprecated API:Since version 1.38. Instead, use the sap.m.Page
control.
sClassName
and enriches it with the information contained in oClassInfo
. 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
- content : sap.ui.core.Control[] (default)
In addition, all settings applicable to the base type sap.ui.core.Element can be used as well.
{string} | sId? | id for the new control, generated automatically if no id is given |
{object} | mSettings? | initial settings for the new control |
- Deprecated:
- Since version 1.38. Instead, use the
sap.m.Page
control.
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in sap.ui.core.Element.extend.
{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 |
{function} | Created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
content
. {sap.ui.core.Control} | oContent | the content to add; if empty, nothing is inserted |
{sap.ui.commons.layout.BorderLayoutArea} | Reference to this in order to allow method chaining |
content
. {sap.ui.commons.layout.BorderLayoutArea} | Reference to this in order to allow method chaining |
content
. Controls within the area
{sap.ui.core.Control[]} |
contentAlign
. The content alignment as CSS value
Default value is left
.
{string} | Value of property contentAlign |
overflowX
. The overflow mode of the area in horizontal direction as CSS value
Default value is auto
.
{string} | Value of property overflowX |
overflowY
. The overflow mode of the area in vertical direction as CSS value
Default value is auto
.
{string} | Value of property overflowY |
size
. Defines the height or the width. Is not used when the area element is in Center.
Default value is 100px
.
{sap.ui.core.CSSSize} | Value of property size |
visible
. Invisible controls are not rendered
Default value is true
.
{boolean} | Value of property visible |
sap.ui.core.Control
in the aggregation content
. and returns its index if found or -1 otherwise. {sap.ui.core.Control} | oContent | The content whose index is looked for |
{int} | The index of the provided control in the aggregation if found, or -1 otherwise |
content
. {sap.ui.core.Control} | oContent | the content to insert; if empty, nothing is inserted |
{int} | iIndex | the 0 -based index the content should be inserted at; for a negative value of iIndex , the content is inserted at position 0; for a value greater than the current size of the aggregation, the content is inserted at the last position |
{sap.ui.commons.layout.BorderLayoutArea} | Reference to this in order to allow method chaining |
content
. Additionally, it unregisters them from the hosting UIArea.
{sap.ui.core.Control[]} | An array of the removed elements (might be empty) |
content
. {int|string|sap.ui.core.Control} | vContent | The contentto remove or its index or id |
{sap.ui.core.Control} | The removed content or null |
contentAlign
. The content alignment as CSS value
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is left
.
{string} | sContentAlign | New value for property contentAlign |
{sap.ui.commons.layout.BorderLayoutArea} | Reference to this in order to allow method chaining |
overflowX
. The overflow mode of the area in horizontal direction as CSS value
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is auto
.
{string} | sOverflowX | New value for property overflowX |
{sap.ui.commons.layout.BorderLayoutArea} | Reference to this in order to allow method chaining |
overflowY
. The overflow mode of the area in vertical direction as CSS value
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is auto
.
{string} | sOverflowY | New value for property overflowY |
{sap.ui.commons.layout.BorderLayoutArea} | Reference to this in order to allow method chaining |
size
. Defines the height or the width. Is not used when the area element is in Center.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 100px
.
{sap.ui.core.CSSSize} | sSize | New value for property size |
{sap.ui.commons.layout.BorderLayoutArea} | Reference to this in order to allow method chaining |
visible
. Invisible controls are not rendered
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
{boolean} | bVisible | New value for property visible |
{sap.ui.commons.layout.BorderLayoutArea} | Reference to this in order to allow method chaining |
areaId
. Defines which area the element represents: top, begin, center, end, bottom
Default value is top
.
- Deprecated:
- Since version 1.3.3. Redundant to the aggregation by the parent border layout.
{sap.ui.commons.layout.BorderLayoutAreaTypes} | Value of property areaId |
areaId
. Defines which area the element represents: top, begin, center, end, bottom
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is top
.
{sap.ui.commons.layout.BorderLayoutAreaTypes} | sAreaId | New value for property areaId |
- Deprecated:
- Since version 1.3.3. Redundant to the aggregation by the parent border layout.
{sap.ui.commons.layout.BorderLayoutArea} | Reference to this in order to allow method chaining |