Class sap.makit.ColumnModule: sap/makit/Column

extends Element

The data column 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.Column(sId?, mSettings?)Constructor for a new Column.
Method Summary
sap.makit.Column.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.makit.Column with name sClassName and enriches it with the information contained in oClassInfo.
sap.makit.Column.getMetadata()Returns a metadata object for class sap.makit.Column.
getName()Getter for property name.
getType()Getter for property type.
getValue()Getter for property value.
setName(sName)Setter for property name.
setType(sType)Setter for property type.
setValue(oValue)Setter for property value.
Constructor Detail
new sap.makit.Column(sId?, mSettings?)
Constructor for a new Column.

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
    • 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.Column.extend(sClassName, oClassInfo?, FNMetaImpl?): function
        Creates a new subclass of class sap.makit.Column 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.Column.getMetadata(): sap.ui.base.Metadata
        Returns a metadata object for class sap.makit.Column.
        Returns:
        {sap.ui.base.Metadata} Metadata object describing this class
        getName(): string
        Getter for property name. The name representing the Column

        Default value is empty/undefined

        Returns:
        {string} the value of property name
        getType(): string
        Getter for property type. The data type of the Column: number string datetime

        Default value is string

        Returns:
        {string} the value of property type
        getValue(): any
        Getter for property value. The value mapped to this Column (User should map this using data binding)

        Default value is empty/undefined

        Returns:
        {any} the value of property value
        setName(sName): sap.makit.Column
        Setter for property name.

        Default value is empty/undefined

        Parameters:
        {string}sName new value for property name
        Returns:
        {sap.makit.Column}this to allow method chaining
        setType(sType): sap.makit.Column
        Setter for property type.

        Default value is string

        Parameters:
        {string}sType new value for property type
        Returns:
        {sap.makit.Column}this to allow method chaining
        setValue(oValue): sap.makit.Column
        Setter for property value.

        Default value is empty/undefined

        Parameters:
        {any}oValue new value for property value
        Returns:
        {sap.makit.Column}this to allow method chaining