Class sap.makit.RowModule: sap/makit/Row

extends Element

The data row of the Chart's data table

Deprecated API:Since version 1.38. MAKIT charts have been replaced with sap.viz and vizFrame in 1.38. This control will not be supported anymore from 1.38.


Since: 1.8.
Constructor Summary
new sap.makit.Row(sId?, mSettings?)Constructor for a new Row.
Method Summary
sap.makit.Row.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.makit.Row with name sClassName and enriches it with the information contained in oClassInfo.
sap.makit.Row.getMetadata()Returns a metadata object for class sap.makit.Row.
addCell(oCell)Adds some cell oCell to the aggregation named cells.
destroyCells()Destroys all the cells in the aggregation named cells.
getCells()Getter for aggregation cells.
indexOfCell(oCell)Checks for the provided sap.makit.Column in the aggregation named cells and returns its index if found or -1 otherwise.
insertCell(oCell, iIndex)Inserts a cell into the aggregation named cells.
removeAllCells()Removes all the controls in the aggregation named cells.
removeCell(vCell)Removes an cell from the aggregation named cells.
Constructor Detail
new sap.makit.Row(sId?, mSettings?)
Constructor for a new Row.

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
    • Aggregations
      • cells : sap.makit.Column[]
    • Associations
      • Events

        In addition, all settings applicable to the base type sap.ui.core.Element can be used as well.

        Parameters:
        {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. MAKIT charts have been replaced with sap.viz and vizFrame in 1.38. This control will not be supported anymore from 1.38.
        Method Detail
        sap.makit.Row.extend(sClassName, oClassInfo?, FNMetaImpl?): function
        Creates a new subclass of class sap.makit.Row 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.makit.Row.getMetadata(): sap.ui.base.Metadata
        Returns a metadata object for class sap.makit.Row.
        Returns:
        {sap.ui.base.Metadata} Metadata object describing this class
        addCell(oCell): sap.makit.Row
        Adds some cell oCell to the aggregation named cells.
        Parameters:
        {sap.makit.Column}oCell the cell to add; if empty, nothing is inserted
        Returns:
        {sap.makit.Row}this to allow method chaining
        destroyCells(): sap.makit.Row
        Destroys all the cells in the aggregation named cells.
        Returns:
        {sap.makit.Row}this to allow method chaining
        getCells(): sap.makit.Column[]
        Getter for aggregation cells.
        Representing the cells of the row. User should not add individual cells. The cells will be added automatically via Column mapping.
        Returns:
        {sap.makit.Column[]}
        indexOfCell(oCell): int
        Checks for the provided sap.makit.Column in the aggregation named cells and returns its index if found or -1 otherwise.
        Parameters:
        {sap.makit.Column}oCell the cell whose index is looked for.
        Returns:
        {int} the index of the provided control in the aggregation if found, or -1 otherwise
        insertCell(oCell, iIndex): sap.makit.Row
        Inserts a cell into the aggregation named cells.
        Parameters:
        {sap.makit.Column}oCell the cell to insert; if empty, nothing is inserted
        {int}iIndex the 0-based index the cell should be inserted at; for a negative value of iIndex, the cell is inserted at position 0; for a value greater than the current size of the aggregation, the cell is inserted at the last position
        Returns:
        {sap.makit.Row}this to allow method chaining
        removeAllCells(): sap.makit.Column[]
        Removes all the controls in the aggregation named cells.
        Additionally unregisters them from the hosting UIArea.
        Returns:
        {sap.makit.Column[]} an array of the removed elements (might be empty)
        removeCell(vCell): sap.makit.Column
        Removes an cell from the aggregation named cells.
        Parameters:
        {int|string|sap.makit.Column}vCell the cell to remove or its index or id
        Returns:
        {sap.makit.Column} the removed cell or null