Class: ComponentMessaging

Oracle® Fusion Middleware Oracle JavaScript Extension Toolkit (JET)
12c (12.1.4)

E54107-01

QuickNav

oj. ComponentMessaging

Constructor

<protected> new ComponentMessaging(component)

Component Messaging Utilities.
Parameters:
Name Type Description
component Object instance
Source:

Non-public Fields

<protected, constant> ._DISPLAY_TYPE

Default display types supported for component messaging. Future: support for inline
Source:

<protected, constant> ._DISPLAY_TYPE_TO_CALLBACK

Tracks the messaging strategy callback function by type, used to instantiate messaging strategies. Implementations register by type.
Source:

Methods

<static> registerMessagingStrategy(type, strategyConstructorCallback) → {undefined}

Stores the constructor function callback object used to constuct a strategy object for the specified type.
Parameters:
Name Type Description
type string
strategyConstructorCallback Function a constructor callback that can be used to constuct a strategy object for the specified type
Source:
Returns:
Type
undefined

Non-public Methods

<protected> #Init(component)

Initializes the strategy based on the display options that specify the messaging artifacts that will be displayed by this strategy.
Parameters:
Name Type Description
component Object widget instance
Source: