Class sap.suite.ui.commons.ProcessFlowConnectionModule: sap/suite/ui/commons/ProcessFlowConnection
This control is used inside the ProcessFlow control to connect process flow node A with process flow node B in respect to the style(x) chosen by the application.
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
- drawData : object[]
- zoomLevel : sap.suite.ui.commons.ProcessFlowZoomLevel (default: sap.suite.ui.commons.ProcessFlowZoomLevel.Two)
- type : sap.suite.ui.commons.ProcessFlowConnectionType (default: sap.suite.ui.commons.ProcessFlowConnectionType.Normal)
- state : sap.suite.ui.commons.ProcessFlowConnectionState (default: sap.suite.ui.commons.ProcessFlowConnectionState.Regular)
- Aggregations
- Associations
- Events
{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 |
{object} | singleConnectionData |
{Array} | connectionData |
drawData
. This is an array of the following attributes for one element: 1. flowLine (string) - A connection definition where the line should be drawn. A string which defines a course of a flow line. A flow line is a connection between nodes in a process flow control. The string can contain the following characters: - "r" for right, - "t" for top, - "l" for left, - "b" for bottom. 2. targetNodeState (ProcessFlowNodeState) - A copy of the target node status. If the target node is created, the line is solid. If the target node is planned, the line is dashed. 3. displayState (ProcessFlowDisplayState) - Display state of the node. This property defines if the node is displayed regularly, highlighted, or dimmed in combination with a selected visual style of the control. 4. hasArrow (boolean) - Indicates if the line has an arrow on the right end. Default value is empty/undefined
{object[]} | the value of property drawData |
zoomLevel
. This is a current zoom level for the connection. The point of connection to the node is derived from zoom level. Default value is Two
{sap.suite.ui.commons.ProcessFlowZoomLevel} | the value of property zoomLevel |
drawData
. Default value is empty/undefined
{object[]} | aDrawData | new value for property drawData |
{sap.suite.ui.commons.ProcessFlowConnection} | this to allow method chaining |
zoomLevel
. Default value is Two
{sap.suite.ui.commons.ProcessFlowZoomLevel} | oZoomLevel | new value for property zoomLevel |
{sap.suite.ui.commons.ProcessFlowConnection} | this to allow method chaining |
state
. State of the connection. Default value is Regular
- Deprecated:
- Since version 1.32. State is deprecated because of no usages. There will be no replacement.
{sap.suite.ui.commons.ProcessFlowConnectionState} | the value of property state |
type
. Type of the connection. Default value is Normal
- Deprecated:
- Since version 1.32. Type is deprecated because of no usages. There will be no replacement.
{sap.suite.ui.commons.ProcessFlowConnectionType} | the value of property type |
state
. Default value is Regular
{sap.suite.ui.commons.ProcessFlowConnectionState} | oState | new value for property state |
- Deprecated:
- Since version 1.32. State is deprecated because of no usages. There will be no replacement.
{sap.suite.ui.commons.ProcessFlowConnection} | this to allow method chaining |
type
. Default value is Normal
{sap.suite.ui.commons.ProcessFlowConnectionType} | oType | new value for property type |
- Deprecated:
- Since version 1.32. Type is deprecated because of no usages. There will be no replacement.
{sap.suite.ui.commons.ProcessFlowConnection} | this to allow method chaining |