Class sap.m.MessagePopoverItemModule: sap/m/MessagePopoverItem

extends Element

Items provide information about Error Messages in the page.


Since: 1.28.
Constructor Summary
new sap.m.MessagePopoverItem(sId?, mSettings?)Constructor for a new MessagePopoverItem.
Method Summary
sap.m.MessagePopoverItem.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.m.MessagePopoverItem with name sClassName and enriches it with the information contained in oClassInfo.
sap.m.MessagePopoverItem.getMetadata()Returns a metadata object for class sap.m.MessagePopoverItem.
getDescription()Gets current value of property description.
getLongtextUrl()Gets current value of property longtextUrl.
getMarkupDescription()Gets current value of property markupDescription.
getTitle()Gets current value of property title.
getType()Gets current value of property type.
setDescription(sDescription)Sets a new value for property description.
setLongtextUrl(sLongtextUrl)Sets a new value for property longtextUrl.
setMarkupDescription(bMarkupDescription)Sets a new value for property markupDescription.
setTitle(sTitle)Sets a new value for property title.
setType(sType)Sets a new value for property type.
Constructor Detail
new sap.m.MessagePopoverItem(sId?, mSettings?)
Constructor for a new MessagePopoverItem.

Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.

The supported settings are:

In addition, all settings applicable to the base type sap.ui.core.Element can be used as well.

Parameters:
{string}sId? id for the new control, generated automatically if no id is given
{object}mSettings? initial settings for the new control
Method Detail
sap.m.MessagePopoverItem.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.m.MessagePopoverItem 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.Element.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.m.MessagePopoverItem.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.m.MessagePopoverItem.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getDescription(): string
Gets current value of property description.

Specifies detailed description of the message

Default value is .

Returns:
{string} Value of property description
getLongtextUrl(): sap.ui.core.URI
Gets current value of property longtextUrl.

Specifies long text description location URL

Returns:
{sap.ui.core.URI} Value of property longtextUrl
getMarkupDescription(): boolean
Gets current value of property markupDescription.

Specifies if description should be interpreted as markup

Default value is false.

Returns:
{boolean} Value of property markupDescription
getTitle(): string
Gets current value of property title.

Specifies the title of the message

Default value is .

Returns:
{string} Value of property title
Gets current value of property type.

Specifies the type of the message

Default value is Error.

Returns:
{sap.ui.core.MessageType} Value of property type
setDescription(sDescription): sap.m.MessagePopoverItem
Sets a new value for property description.

Specifies detailed description of the message

When called with a value of null or undefined, the default value of the property will be restored.

Default value is .

Parameters:
{string}sDescription New value for property description
Returns:
{sap.m.MessagePopoverItem} Reference to this in order to allow method chaining
setLongtextUrl(sLongtextUrl): sap.m.MessagePopoverItem
Sets a new value for property longtextUrl.

Specifies long text description location URL

When called with a value of null or undefined, the default value of the property will be restored.

Parameters:
{sap.ui.core.URI}sLongtextUrl New value for property longtextUrl
Returns:
{sap.m.MessagePopoverItem} Reference to this in order to allow method chaining
setMarkupDescription(bMarkupDescription): sap.m.MessagePopoverItem
Sets a new value for property markupDescription.

Specifies if description should be interpreted as markup

When called with a value of null or undefined, the default value of the property will be restored.

Default value is false.

Parameters:
{boolean}bMarkupDescription New value for property markupDescription
Returns:
{sap.m.MessagePopoverItem} Reference to this in order to allow method chaining
setTitle(sTitle): sap.m.MessagePopoverItem
Sets a new value for property title.

Specifies the title of the message

When called with a value of null or undefined, the default value of the property will be restored.

Default value is .

Parameters:
{string}sTitle New value for property title
Returns:
{sap.m.MessagePopoverItem} Reference to this in order to allow method chaining
setType(sType): sap.m.MessagePopoverItem
Sets a new value for property type.

Specifies the type of the message

When called with a value of null or undefined, the default value of the property will be restored.

Default value is Error.

Parameters:
{sap.ui.core.MessageType}sType New value for property type
Returns:
{sap.m.MessagePopoverItem} Reference to this in order to allow method chaining