Class sap.landvisz.internal.NestedRowFieldModule: sap/landvisz/internal/NestedRowField
A control to render nester row fields in a control
sClassName
and enriches it with the information contained in oClassInfo
.sap.landvisz.internal.LinearRowField
in the aggregation named linearRows
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
- label : string
- values : string[]
- renderingSize : sap.landvisz.EntityCSSSize (default: sap.landvisz.EntityCSSSize.Regular)
- iconTitle : string
- type : string
- valueType : string
- rightIconSrc : string
- linkSource : string
- Aggregations
- linearRows : sap.landvisz.internal.LinearRowField[]
- Associations
- Events
{string} | sId? | id for the new control, generated automatically if no id is given |
{object} | mSettings? | initial settings for the new control |
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 |
oLinearRow
to the aggregation named linearRows
. {sap.landvisz.internal.LinearRowField} | oLinearRow | the linearRow to add; if empty, nothing is inserted |
{sap.landvisz.internal.NestedRowField} | this to allow method chaining |
linearRows
. {sap.landvisz.internal.NestedRowField} | this to allow method chaining |
iconTitle
. titlte of the icon rendered in the nested row field Default value is empty/undefined
{string} | the value of property iconTitle |
label
. label for data in a row field Default value is empty/undefined
{string} | the value of property label |
linearRows
.Rows aggregation in a label
{sap.landvisz.internal.LinearRowField[]} |
linkSource
. source from which two or more systems are dependent Default value is empty/undefined
{string} | the value of property linkSource |
renderingSize
. rendering size of the control Default value is sap.landvisz.EntityCSSSize.Regular
{sap.landvisz.EntityCSSSize} | the value of property renderingSize |
rightIconSrc
. Image source of the icon on right Default value is empty/undefined
{string} | the value of property rightIconSrc |
type
. determines the type of landscape object Default value is empty/undefined
{string} | the value of property type |
values
. value of the data in a row field Default value is empty/undefined
{string[]} | the value of property values |
valueType
. determines the type of value Default value is empty/undefined
{string} | the value of property valueType |
sap.landvisz.internal.LinearRowField
in the aggregation named linearRows
and returns its index if found or -1 otherwise. {sap.landvisz.internal.LinearRowField} | oLinearRow | the linearRow whose index is looked for. |
{int} | the index of the provided control in the aggregation if found, or -1 otherwise |
linearRows
. {sap.landvisz.internal.LinearRowField} | oLinearRow | the linearRow to insert; if empty, nothing is inserted |
{int} | iIndex | the 0 -based index the linearRow should be inserted at; for a negative value of iIndex , the linearRow is inserted at position 0; for a value greater than the current size of the aggregation, the linearRow is inserted at the last position |
{sap.landvisz.internal.NestedRowField} | this to allow method chaining |
linearRows
.Additionally unregisters them from the hosting UIArea.
{sap.landvisz.internal.LinearRowField[]} | an array of the removed elements (might be empty) |
linearRows
. {int|string|sap.landvisz.internal.LinearRowField} | vLinearRow | the linearRow to remove or its index or id |
{sap.landvisz.internal.LinearRowField} | the removed linearRow or null |
iconTitle
. Default value is empty/undefined
{string} | sIconTitle | new value for property iconTitle |
{sap.landvisz.internal.NestedRowField} | this to allow method chaining |
label
. Default value is empty/undefined
{string} | sLabel | new value for property label |
{sap.landvisz.internal.NestedRowField} | this to allow method chaining |
linkSource
. Default value is empty/undefined
{string} | sLinkSource | new value for property linkSource |
{sap.landvisz.internal.NestedRowField} | this to allow method chaining |
renderingSize
. Default value is sap.landvisz.EntityCSSSize.Regular
{sap.landvisz.EntityCSSSize} | oRenderingSize | new value for property renderingSize |
{sap.landvisz.internal.NestedRowField} | this to allow method chaining |
rightIconSrc
. Default value is empty/undefined
{string} | sRightIconSrc | new value for property rightIconSrc |
{sap.landvisz.internal.NestedRowField} | this to allow method chaining |
type
. Default value is empty/undefined
{string} | sType | new value for property type |
{sap.landvisz.internal.NestedRowField} | this to allow method chaining |
values
. Default value is empty/undefined
{string[]} | aValues | new value for property values |
{sap.landvisz.internal.NestedRowField} | this to allow method chaining |
valueType
. Default value is empty/undefined
{string} | sValueType | new value for property valueType |
{sap.landvisz.internal.NestedRowField} | this to allow method chaining |