class sap.ui.core.message.ControlMessageProcessor

Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/core/message/ControlMessageProcessor
Application Component: CA-UI5-COR

The ControlMessageProcessor implementation. This MessageProcessor is able to handle Messages with the following target syntax: 'ControlID/PropertyName'. Creating an instance of this class using the "new" keyword always results in the same instance (Singleton).


Constructor

Constructor for a new ControlMessageProcessor

new sap.ui.core.message.ControlMessageProcessor()

Methods Overview

Method Description
checkMessages

Check Messages and update controls with messages

sap.ui.core.message.ControlMessageProcessor.extend

Creates a new subclass of class sap.ui.core.message.ControlMessageProcessor 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.message.MessageProcessor.extend.

sap.ui.core.message.ControlMessageProcessor.getMetadata

Returns a metadata object for class sap.ui.core.message.ControlMessageProcessor.

setMessages

Set Messages to check

checkMessages

Check Messages and update controls with messages

sap.ui.core.message.ControlMessageProcessor.extend

Creates a new subclass of class sap.ui.core.message.ControlMessageProcessor 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.message.MessageProcessor.extend.

Param Type DefaultValue Description
sClassName string

Name of the class being created

oClassInfo object

Object literal with information about the class

FNMetaImpl function

Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class

sap.ui.core.message.ControlMessageProcessor.getMetadata

Returns a metadata object for class sap.ui.core.message.ControlMessageProcessor.

setMessages

Set Messages to check

Param Type DefaultValue Description
vMessages Object<string,array>

map of messages: {'target': [array of messages],...}