Class sap.landvisz.internal.NestedRowFieldModule: sap/landvisz/internal/NestedRowField

extends Control

A control to render nester row fields in a control

Constructor Summary
new sap.landvisz.internal.NestedRowField(sId?, mSettings?)Constructor for a new internal/NestedRowField.
Events borrowed from class sap.ui.core.Control
Method Summary
sap.landvisz.internal.NestedRowField.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.landvisz.internal.NestedRowField with name sClassName and enriches it with the information contained in oClassInfo.
sap.landvisz.internal.NestedRowField.getMetadata()Returns a metadata object for class sap.landvisz.internal.NestedRowField.
addLinearRow(oLinearRow)Adds some linearRow oLinearRow to the aggregation named linearRows.
destroyLinearRows()Destroys all the linearRows in the aggregation named linearRows.
getIconTitle()Getter for property iconTitle.
getLabel()Getter for property label.
getLinearRows()Getter for aggregation linearRows.
getLinkSource()Getter for property linkSource.
getRenderingSize()Getter for property renderingSize.
getRightIconSrc()Getter for property rightIconSrc.
getType()Getter for property type.
getValues()Getter for property values.
getValueType()Getter for property valueType.
indexOfLinearRow(oLinearRow)Checks for the provided sap.landvisz.internal.LinearRowField in the aggregation named linearRows and returns its index if found or -1 otherwise.
insertLinearRow(oLinearRow, iIndex)Inserts a linearRow into the aggregation named linearRows.
removeAllLinearRows()Removes all the controls in the aggregation named linearRows.
removeLinearRow(vLinearRow)Removes an linearRow from the aggregation named linearRows.
setIconTitle(sIconTitle)Setter for property iconTitle.
setLabel(sLabel)Setter for property label.
setLinkSource(sLinkSource)Setter for property linkSource.
setRenderingSize(oRenderingSize)Setter for property renderingSize.
setRightIconSrc(sRightIconSrc)Setter for property rightIconSrc.
setType(sType)Setter for property type.
setValues(aValues)Setter for property values.
setValueType(sValueType)Setter for property valueType.
Constructor Detail
new sap.landvisz.internal.NestedRowField(sId?, mSettings?)
Constructor for a new internal/NestedRowField.

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:

Parameters:
{string}sId? id for the new control, generated automatically if no id is given
{object}mSettings? initial settings for the new control
Method Detail
sap.landvisz.internal.NestedRowField.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.landvisz.internal.NestedRowField with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of informations as described in Element.extend.

Parameters:
{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.
Returns:
{function} the created class / constructor function
sap.landvisz.internal.NestedRowField.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.landvisz.internal.NestedRowField.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
addLinearRow(oLinearRow): sap.landvisz.internal.NestedRowField
Adds some linearRow oLinearRow to the aggregation named linearRows.
Parameters:
{sap.landvisz.internal.LinearRowField}oLinearRow the linearRow to add; if empty, nothing is inserted
Returns:
{sap.landvisz.internal.NestedRowField}this to allow method chaining
Destroys all the linearRows in the aggregation named linearRows.
Returns:
{sap.landvisz.internal.NestedRowField}this to allow method chaining
getIconTitle(): string
Getter for property iconTitle. titlte of the icon rendered in the nested row field

Default value is empty/undefined

Returns:
{string} the value of property iconTitle
getLabel(): string
Getter for property label. label for data in a row field

Default value is empty/undefined

Returns:
{string} the value of property label
Getter for aggregation linearRows.
Rows aggregation in a label
Returns:
{sap.landvisz.internal.LinearRowField[]}
getLinkSource(): string
Getter for property linkSource. source from which two or more systems are dependent

Default value is empty/undefined

Returns:
{string} the value of property linkSource
getRenderingSize(): sap.landvisz.EntityCSSSize
Getter for property renderingSize. rendering size of the control

Default value is sap.landvisz.EntityCSSSize.Regular

Returns:
{sap.landvisz.EntityCSSSize} the value of property renderingSize
getRightIconSrc(): string
Getter for property rightIconSrc. Image source of the icon on right

Default value is empty/undefined

Returns:
{string} the value of property rightIconSrc
getType(): string
Getter for property type. determines the type of landscape object

Default value is empty/undefined

Returns:
{string} the value of property type
getValues(): string[]
Getter for property values. value of the data in a row field

Default value is empty/undefined

Returns:
{string[]} the value of property values
getValueType(): string
Getter for property valueType. determines the type of value

Default value is empty/undefined

Returns:
{string} the value of property valueType
indexOfLinearRow(oLinearRow): int
Checks for the provided sap.landvisz.internal.LinearRowField in the aggregation named linearRows and returns its index if found or -1 otherwise.
Parameters:
{sap.landvisz.internal.LinearRowField}oLinearRow the linearRow whose index is looked for.
Returns:
{int} the index of the provided control in the aggregation if found, or -1 otherwise
insertLinearRow(oLinearRow, iIndex): sap.landvisz.internal.NestedRowField
Inserts a linearRow into the aggregation named linearRows.
Parameters:
{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
Returns:
{sap.landvisz.internal.NestedRowField}this to allow method chaining
removeAllLinearRows(): sap.landvisz.internal.LinearRowField[]
Removes all the controls in the aggregation named linearRows.
Additionally unregisters them from the hosting UIArea.
Returns:
{sap.landvisz.internal.LinearRowField[]} an array of the removed elements (might be empty)
removeLinearRow(vLinearRow): sap.landvisz.internal.LinearRowField
Removes an linearRow from the aggregation named linearRows.
Parameters:
{int|string|sap.landvisz.internal.LinearRowField}vLinearRow the linearRow to remove or its index or id
Returns:
{sap.landvisz.internal.LinearRowField} the removed linearRow or null
setIconTitle(sIconTitle): sap.landvisz.internal.NestedRowField
Setter for property iconTitle.

Default value is empty/undefined

Parameters:
{string}sIconTitle new value for property iconTitle
Returns:
{sap.landvisz.internal.NestedRowField}this to allow method chaining
Setter for property label.

Default value is empty/undefined

Parameters:
{string}sLabel new value for property label
Returns:
{sap.landvisz.internal.NestedRowField}this to allow method chaining
setLinkSource(sLinkSource): sap.landvisz.internal.NestedRowField
Setter for property linkSource.

Default value is empty/undefined

Parameters:
{string}sLinkSource new value for property linkSource
Returns:
{sap.landvisz.internal.NestedRowField}this to allow method chaining
setRenderingSize(oRenderingSize): sap.landvisz.internal.NestedRowField
Setter for property renderingSize.

Default value is sap.landvisz.EntityCSSSize.Regular

Parameters:
{sap.landvisz.EntityCSSSize}oRenderingSize new value for property renderingSize
Returns:
{sap.landvisz.internal.NestedRowField}this to allow method chaining
setRightIconSrc(sRightIconSrc): sap.landvisz.internal.NestedRowField
Setter for property rightIconSrc.

Default value is empty/undefined

Parameters:
{string}sRightIconSrc new value for property rightIconSrc
Returns:
{sap.landvisz.internal.NestedRowField}this to allow method chaining
Setter for property type.

Default value is empty/undefined

Parameters:
{string}sType new value for property type
Returns:
{sap.landvisz.internal.NestedRowField}this to allow method chaining
Setter for property values.

Default value is empty/undefined

Parameters:
{string[]}aValues new value for property values
Returns:
{sap.landvisz.internal.NestedRowField}this to allow method chaining
setValueType(sValueType): sap.landvisz.internal.NestedRowField
Setter for property valueType.

Default value is empty/undefined

Parameters:
{string}sValueType new value for property valueType
Returns:
{sap.landvisz.internal.NestedRowField}this to allow method chaining