Class sap.ca.ui.OverflowContainerModule: sap/ca/ui/OverflowContainer
The OverflowContainer allows the content of a control to be partially displayed before being fully expanded. It will cut its content to a fixed height that can be defined. It is fully suitable within an IconTabBar.
Deprecated API:Since version 1.24.1. OverflowContainer is deprecated as per central UX requirements. This control will not be supported anymore.
sClassName
and enriches it with the information contained in oClassInfo
.sap.ui.core.Control
in the aggregation named content
and returns its index if found or -1 otherwise. Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers.
If the name of a setting is ambiguous (e.g. a property has the same name as an event), then the framework assumes property, aggregation, association, event in that order. To override this automatic resolution, one of the prefixes "aggregation:", "association:" or "event:" can be added to the name of the setting (such a prefixed name must be enclosed in single or double quotes).
The supported settings are:
- Properties
- overflowHeight : sap.ui.core.CSSSize (default: '200px')
- expanded : boolean (default: false)
- Aggregations
- content : sap.ui.core.Control[]
- Associations
- Events
{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.24.1. OverflowContainer is deprecated as per central UX requirements. This control will not be supported anymore.
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of informations as described in Element.extend.
{string} | sClassName | name of the class to be created |
{object} | oClassInfo? | object literal with informations about the class |
{function} | FNMetaImpl? | constructor function for the metadata object. If not given, it defaults to sap.ui.core.ElementMetadata. |
{function} | the created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
oContent
to the aggregation named content
. {sap.ui.core.Control} | oContent | the content to add; if empty, nothing is inserted |
{sap.ca.ui.OverflowContainer} | this to allow method chaining |
content
. {sap.ca.ui.OverflowContainer} | this to allow method chaining |
content
.Controls to be embedded.
{sap.ui.core.Control[]} |
expanded
. This property allows to fully expand the container Default value is false
{boolean} | the value of property expanded |
overflowHeight
. The height of the container when not expanded. It should be determined by the application. The default value is set to 200px.
Default value is 200px
{sap.ui.core.CSSSize} | the value of property overflowHeight |
sap.ui.core.Control
in the aggregation named 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.ca.ui.OverflowContainer} | this to allow method chaining |
content
.Additionally 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 content to remove or its index or id |
{sap.ui.core.Control} | the removed content or null |
expanded
. Default value is false
{boolean} | bExpanded | new value for property expanded |
{sap.ca.ui.OverflowContainer} | this to allow method chaining |
overflowHeight
. Default value is 200px
{sap.ui.core.CSSSize} | sOverflowHeight | new value for property overflowHeight |
{sap.ca.ui.OverflowContainer} | this to allow method chaining |