Class sap.ui.core.message.ControlMessageProcessorModule: sap/ui/core/message/ControlMessageProcessor


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 Summary
new sap.ui.core.message.ControlMessageProcessor()Constructor for a new ControlMessageProcessor
Method Summary
sap.ui.core.message.ControlMessageProcessor.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.core.message.ControlMessageProcessor with name sClassName and enriches it with the information contained in oClassInfo.
sap.ui.core.message.ControlMessageProcessor.getMetadata()Returns a metadata object for class sap.ui.core.message.ControlMessageProcessor.
checkMessages()Check Messages and update controls with messages
setMessages(vMessages)Set Messages to check
Methods borrowed from class sap.ui.base.Object
Constructor Detail
new sap.ui.core.message.ControlMessageProcessor()
Constructor for a new ControlMessageProcessor
Method Detail
sap.ui.core.message.ControlMessageProcessor.extend(sClassName, oClassInfo?, FNMetaImpl?): function
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.

Parameters:
{string}sClassName Name of the class being created
{object}oClassInfo? Object literal with information about the class
{function}FNMetaImpl? Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata
Returns:
{function} Created class / constructor function
sap.ui.core.message.ControlMessageProcessor.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.core.message.ControlMessageProcessor.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
checkMessages()
Check Messages and update controls with messages
setMessages(vMessages)
Set Messages to check
Parameters:
{map}vMessages map of messages: {'target': [array of messages],...}