Class sap.suite.ui.commons.MonitoringTileModule: sap/suite/ui/commons/MonitoringTile

extends InfoTile

This control is the implementation of the InfoTile to show a numeric value and an icon.

Deprecated API:Since version 1.25. This control has been deprecated in favor of new sap.suite.ui.commons.GenericTile.

Constructor Summary
new sap.suite.ui.commons.MonitoringTile(sId?, mSettings?)Constructor for a new MonitoringTile.
Events borrowed from class sap.suite.ui.commons.InfoTile
Events borrowed from class sap.ui.core.Control
Method Summary
sap.suite.ui.commons.MonitoringTile.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.suite.ui.commons.MonitoringTile with name sClassName and enriches it with the information contained in oClassInfo.
sap.suite.ui.commons.MonitoringTile.getMetadata()Returns a metadata object for class sap.suite.ui.commons.MonitoringTile.
getFooterColor()Getter for property footerColor.
getIconSrc()Getter for property iconSrc.
getValue()Getter for property value.
setFooterColor(oFooterColor)Setter for property footerColor.
setIconSrc(sIconSrc)Setter for property iconSrc.
setValue(sValue)Setter for property value.
Constructor Detail
new sap.suite.ui.commons.MonitoringTile(sId?, mSettings?)
Constructor for a new MonitoringTile.

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
    • value : string
    • iconSrc : string
    • footerColor : sap.suite.ui.commons.InfoTileTextColor (default: sap.suite.ui.commons.InfoTileTextColor.Positive)
  • Aggregations
    • Associations
      • Events

        In addition, all settings applicable to the base type sap.suite.ui.commons.InfoTile 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.25. This control has been deprecated in favor of new sap.suite.ui.commons.GenericTile.
        Method Detail
        sap.suite.ui.commons.MonitoringTile.extend(sClassName, oClassInfo?, FNMetaImpl?): function
        Creates a new subclass of class sap.suite.ui.commons.MonitoringTile 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.suite.ui.commons.MonitoringTile.getMetadata(): sap.ui.base.Metadata
        Returns a metadata object for class sap.suite.ui.commons.MonitoringTile.
        Returns:
        {sap.ui.base.Metadata} Metadata object describing this class
        Getter for property footerColor. The color of the tile footer text.

        Default value is Positive

        Returns:
        {sap.suite.ui.commons.InfoTileTextColor} the value of property footerColor
        getIconSrc(): string
        Getter for property iconSrc. This property is set by the return value of sap.ui.core.IconPool.getIconURI that is called with an icon name parameter and optional collection parameter. The collection parameter is required when the application extended icons are used.

        Default value is empty/undefined

        Returns:
        {string} the value of property iconSrc
        getValue(): string
        Getter for property value. The actual value.

        Default value is empty/undefined

        Returns:
        {string} the value of property value
        setFooterColor(oFooterColor): sap.suite.ui.commons.MonitoringTile
        Setter for property footerColor.

        Default value is Positive

        Parameters:
        {sap.suite.ui.commons.InfoTileTextColor}oFooterColor new value for property footerColor
        Returns:
        {sap.suite.ui.commons.MonitoringTile}this to allow method chaining
        Setter for property iconSrc.

        Default value is empty/undefined

        Parameters:
        {string}sIconSrc new value for property iconSrc
        Returns:
        {sap.suite.ui.commons.MonitoringTile}this to allow method chaining
        Setter for property value.

        Default value is empty/undefined

        Parameters:
        {string}sValue new value for property value
        Returns:
        {sap.suite.ui.commons.MonitoringTile}this to allow method chaining