Class sap.suite.ui.commons.ThingCollectionModule: sap/suite/ui/commons/ThingCollection
This control contains a collection of the sap.ui.ux3.ThingViewer controls or descendants of sap.ui.ux3.ThingViewer. It allows you to navigate through them as well as delete them from the collection.
Deprecated API:Since version 1.32. Deprecated. Object page should be used instead.
sClassName
and enriches it with the information contained in oClassInfo
.sap.ui.ux3.ThingViewer
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:
{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.32. Deprecated. Object page should be used instead.
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.ux3.ThingViewer} | oContent | the content to add; if empty, nothing is inserted |
{sap.suite.ui.commons.ThingCollection} | this to allow method chaining |
{sap.ui.ux3.ThingViewer} | oOContent | An instance of ThingViewer or an instance of its descendant. |
{sap.suite.ui.commons.ThingCollection} |
content
. {sap.suite.ui.commons.ThingCollection} | this to allow method chaining |
content
.Contains a collection of sap.ui.ux3.ThingViewer controls or descendants of sap.ui.ux3.ThingViewer.
{sap.ui.ux3.ThingViewer[]} |
height
. The height of the control. Default value is 100%
{sap.ui.core.CSSSize} | the value of property height |
minHeight
. The minimal height of the control. Default value is empty/undefined
{sap.ui.core.CSSSize} | the value of property minHeight |
minWidth
. The minimal width of the control. Default value is empty/undefined
{sap.ui.core.CSSSize} | the value of property minWidth |
width
. The width of the control. Default value is 100%
{sap.ui.core.CSSSize} | the value of property width |
sap.ui.ux3.ThingViewer
in the aggregation named content
and returns its index if found or -1 otherwise. {sap.ui.ux3.ThingViewer} | 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.ux3.ThingViewer} | 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.suite.ui.commons.ThingCollection} | this to allow method chaining |
content
.Additionally unregisters them from the hosting UIArea.
{sap.ui.ux3.ThingViewer[]} | an array of the removed elements (might be empty) |
content
. {int|string|sap.ui.ux3.ThingViewer} | vContent | the content to remove or its index or id |
{sap.ui.ux3.ThingViewer} | the removed content or null |
height
. Default value is 100%
{sap.ui.core.CSSSize} | sHeight | new value for property height |
{sap.suite.ui.commons.ThingCollection} | this to allow method chaining |
minHeight
. Default value is empty/undefined
{sap.ui.core.CSSSize} | sMinHeight | new value for property minHeight |
{sap.suite.ui.commons.ThingCollection} | this to allow method chaining |
minWidth
. Default value is empty/undefined
{sap.ui.core.CSSSize} | sMinWidth | new value for property minWidth |
{sap.suite.ui.commons.ThingCollection} | this to allow method chaining |
width
. Default value is 100%
{sap.ui.core.CSSSize} | sWidth | new value for property width |
{sap.suite.ui.commons.ThingCollection} | this to allow method chaining |