Class sap.ui.comp.smartfield.ObjectStatusModule: sap/ui/comp/smartfield/ObjectStatus
Defines a possible object status control to be rendered. The smart field may ignore the proposal.
sClassName
and enriches it with the information contained in oClassInfo
.criticalityRepresentationType
. Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.
The supported settings are:
- Properties
- criticality : any
- criticalityRepresentationType : sap.ui.comp.smartfield.CriticalityRepresentationType (default: WithIcon)
In addition, all settings applicable to the base type sap.ui.core.Element 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 |
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in sap.ui.core.Element.extend.
{string} | sClassName | Name of the class being created |
{object} | oClassInfo? | Object literal with information about the class |
{function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
{function} | Created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
criticality
. Optional attribute, which can be set, if the control type has the value ObjectStatus.
{any} | Value of property criticality |
criticalityRepresentationType
. Optional attribute, which can be set to control how the criticality is visualized.
Default value is WithIcon
.
{sap.ui.comp.smartfield.CriticalityRepresentationType} | Value of property criticalityRepresentationType |
criticality
. Optional attribute, which can be set, if the control type has the value ObjectStatus.
When called with a value of null
or undefined
, the default value of the property will be restored.
{any} | oCriticality | New value for property criticality |
{sap.ui.comp.smartfield.ObjectStatus} | Reference to this in order to allow method chaining |
criticalityRepresentationType
. Optional attribute, which can be set to control how the criticality is visualized.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is WithIcon
.
{sap.ui.comp.smartfield.CriticalityRepresentationType} | sCriticalityRepresentationType | New value for property criticalityRepresentationType |
{sap.ui.comp.smartfield.ObjectStatus} | Reference to this in order to allow method chaining |