namespace sap.ui.mdc.mixin.DelegateMixin

Visiblity: restricted
Available since: N/A
Module: sap/ui/mdc/mixin/DelegateMixin
Application Component: CA-UI5-MDC

Enhances a given control prototype with consolidated asynchronous handling for delegate modules and their initialization.

The following methods are available:

Additionally, the following methods are wrapped:

The prototype.init wrapper creates the following instance fields:


Nodes Overview

Node Description

Methods Overview

Method Description
sap.ui.mdc.mixin.DelegateMixin.awaitControlDelegate

Provides access to the delegate initialization Promise. Note: initControlDelegate must be called to start the delegate initialization

sap.ui.mdc.mixin.DelegateMixin.awaitPropertyHelper

Provides access to the property helper initialization Promise.

sap.ui.mdc.mixin.DelegateMixin.getControlDelegate

Returns the delegate instance, if available.

sap.ui.mdc.mixin.DelegateMixin.getPayload

Returns the payload object set for the delegate property.

sap.ui.mdc.mixin.DelegateMixin.getPropertyHelper

Returns the property helper instance, if available.

sap.ui.mdc.mixin.DelegateMixin.getTypeUtil

Returns the typeUtil made available by a delegate module.

sap.ui.mdc.mixin.DelegateMixin.initControlDelegate

Loads and initializes the delegate module related to the enhanced control.

sap.ui.mdc.mixin.DelegateMixin.initPropertyHelper

Loads and initializes the property helper related to the enhanced control.

sap.ui.mdc.mixin.DelegateMixin.awaitControlDelegate

Provides access to the delegate initialization Promise. Note: initControlDelegate must be called to start the delegate initialization

Param Type DefaultValue Description

sap.ui.mdc.mixin.DelegateMixin.awaitPropertyHelper

Provides access to the property helper initialization Promise.

Param Type DefaultValue Description

sap.ui.mdc.mixin.DelegateMixin.getControlDelegate

Returns the delegate instance, if available.

Param Type DefaultValue Description

sap.ui.mdc.mixin.DelegateMixin.getPayload

Returns the payload object set for the delegate property.

Param Type DefaultValue Description

sap.ui.mdc.mixin.DelegateMixin.getPropertyHelper

Returns the property helper instance, if available.

Param Type DefaultValue Description

sap.ui.mdc.mixin.DelegateMixin.getTypeUtil

Returns the typeUtil made available by a delegate module.

Param Type DefaultValue Description

sap.ui.mdc.mixin.DelegateMixin.initControlDelegate

Loads and initializes the delegate module related to the enhanced control.

Param Type DefaultValue Description
oPreloadedModule object

Preloaded delegate module

sap.ui.mdc.mixin.DelegateMixin.initPropertyHelper

Loads and initializes the property helper related to the enhanced control.

Param Type DefaultValue Description
CustomPropertyHelper sap.ui.mdc.util.PropertyHelper

Custom property helper class