Class sap.ui.comp.smartfield.ObjectStatusModule: sap/ui/comp/smartfield/ObjectStatus

extends Element

Defines a possible object status control to be rendered. The smart field may ignore the proposal.

Constructor Summary
new sap.ui.comp.smartfield.ObjectStatus(sId?, mSettings?)Constructor for a new smartfield/ObjectStatus.
Method Summary
sap.ui.comp.smartfield.ObjectStatus.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.comp.smartfield.ObjectStatus with name sClassName and enriches it with the information contained in oClassInfo.
sap.ui.comp.smartfield.ObjectStatus.getMetadata()Returns a metadata object for class sap.ui.comp.smartfield.ObjectStatus.
getCriticality()Gets current value of property criticality.
getCriticalityRepresentationType()Gets current value of property criticalityRepresentationType.
setCriticality(oCriticality)Sets a new value for property criticality.
setCriticalityRepresentationType(sCriticalityRepresentationType)Sets a new value for property criticalityRepresentationType.
Constructor Detail
new sap.ui.comp.smartfield.ObjectStatus(sId?, mSettings?)
Constructor for a new smartfield/ObjectStatus.

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:

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
Method Detail
sap.ui.comp.smartfield.ObjectStatus.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ui.comp.smartfield.ObjectStatus with name 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.

Parameters:
{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
Returns:
{function} Created class / constructor function
sap.ui.comp.smartfield.ObjectStatus.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.comp.smartfield.ObjectStatus.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getCriticality(): any
Gets current value of property criticality.

Optional attribute, which can be set, if the control type has the value ObjectStatus.

Returns:
{any} Value of property criticality
getCriticalityRepresentationType(): sap.ui.comp.smartfield.CriticalityRepresentationType
Gets current value of property criticalityRepresentationType.

Optional attribute, which can be set to control how the criticality is visualized.

Default value is WithIcon.

Returns:
{sap.ui.comp.smartfield.CriticalityRepresentationType} Value of property criticalityRepresentationType
setCriticality(oCriticality): sap.ui.comp.smartfield.ObjectStatus
Sets a new value for property 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.

Parameters:
{any}oCriticality New value for property criticality
Returns:
{sap.ui.comp.smartfield.ObjectStatus} Reference to this in order to allow method chaining
setCriticalityRepresentationType(sCriticalityRepresentationType): sap.ui.comp.smartfield.ObjectStatus
Sets a new value for property 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.

Parameters:
{sap.ui.comp.smartfield.CriticalityRepresentationType}sCriticalityRepresentationType New value for property criticalityRepresentationType
Returns:
{sap.ui.comp.smartfield.ObjectStatus} Reference to this in order to allow method chaining