Class sap.suite.ui.commons.NumericTileModule: sap/suite/ui/commons/NumericTile
This control is the implementation of the InfoTile to show a numeric value.
Deprecated API:Since version 1.25. This control has been deprecated in favor of new sap.suite.ui.commons.GenericTile.
sClassName
and enriches it with the information contained in oClassInfo
. 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
- scale : string
- unit : string
- valueColor : sap.suite.ui.commons.InfoTileValueColor
- indicator : sap.suite.ui.commons.DeviationIndicator (default: sap.suite.ui.commons.DeviationIndicator.None)
- Aggregations
- Associations
- Events
In addition, all settings applicable to the base type sap.suite.ui.commons.InfoTile can be used as well.
{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.
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 |
indicator
. The indicator arrow that shows value deviation. Default value is None
{sap.suite.ui.commons.DeviationIndicator} | the value of property indicator |
scale
. The scaling prefix. Financial characters can be used for currencies and counters. The SI prefixes can be used for units. Default value is empty/undefined
{string} | the value of property scale |
unit
. The percent sign, the currency symbol, or the unit of measure. Default value is empty/undefined
{string} | the value of property unit |
value
. The actual value. Default value is empty/undefined
{string} | the value of property value |
valueColor
. The semantic color of the value. Default value is empty/undefined
{sap.suite.ui.commons.InfoTileValueColor} | the value of property valueColor |
indicator
. Default value is None
{sap.suite.ui.commons.DeviationIndicator} | oIndicator | new value for property indicator |
{sap.suite.ui.commons.NumericTile} | this to allow method chaining |
scale
. Default value is empty/undefined
{string} | sScale | new value for property scale |
{sap.suite.ui.commons.NumericTile} | this to allow method chaining |
unit
. Default value is empty/undefined
{string} | sUnit | new value for property unit |
{sap.suite.ui.commons.NumericTile} | this to allow method chaining |
value
. Default value is empty/undefined
{string} | sValue | new value for property value |
{sap.suite.ui.commons.NumericTile} | this to allow method chaining |
valueColor
. Default value is empty/undefined
{sap.suite.ui.commons.InfoTileValueColor} | oValueColor | new value for property valueColor |
{sap.suite.ui.commons.NumericTile} | this to allow method chaining |