Class sap.suite.ui.commons.ProcessFlowConnectionLabelModule: sap/suite/ui/commons/ProcessFlowConnectionLabel
This control is used inside the ProcessFlow control providing information on connections. Using this control, you need to take care of the lifetime handling instance as instances of this control are not destroyed automatically.
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
- Aggregations
- Associations
- Events
In addition, all settings applicable to the base type sap.m.Button 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 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 |
priority
. Priority is used to define which label is visible if the state of multiple labels is equal. Assuming there are multiple labels with equal state (e.g. Negative state appears twice), the priority decides which one needs to be selected. Default value is 0
{int} | the value of property priority |
state
. Specifies the state of the connection label. If multiple labels are available for one connection, the label will be selected by state based on the following order: Neutral -> Positive -> Critical -> Negative. Default value is Neutral
{sap.suite.ui.commons.ProcessFlowConnectionLabelState} | the value of property state |
priority
. Default value is 0
{int} | iPriority | new value for property priority |
{sap.suite.ui.commons.ProcessFlowConnectionLabel} | this to allow method chaining |
state
. Default value is Neutral
{sap.suite.ui.commons.ProcessFlowConnectionLabelState} | oState | new value for property state |
{sap.suite.ui.commons.ProcessFlowConnectionLabel} | this to allow method chaining |