class sap.ui.vtm.MessagesPopover

Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Extends: sap.m.Popover
Module: sap/ui/vtm/MessagesPopover
Application Component:

A control that can be used to show messages applied to a tree item.


Constructor

Constructor for a new MessagesPopover.

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

new sap.ui.vtm.MessagesPopover()

Properties

Name Type Default Value Description
maxHeight sap.ui.core.CSSSize

Maximum height of status window.

Visibility: public
messages object[]

The set of sap.ui.core.Message objects to display.

Only the following properties of each message will be used:

  • level
  • text
  • icon

Visibility: public

Methods Overview

Method Description
sap.ui.vtm.MessagesPopover.extend

Creates a new subclass of class sap.ui.vtm.MessagesPopover with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.m.Popover.extend.

getMaxHeight

Gets current value of property maxHeight.

Maximum height of status window.

getMessages

Gets current value of property messages.

The set of sap.ui.core.Message objects to display.

Only the following properties of each message will be used:

  • level
  • text
  • icon

sap.ui.vtm.MessagesPopover.getMetadata

Returns a metadata object for class sap.ui.vtm.MessagesPopover.

setMaxHeight

Sets a new value for property maxHeight.

Maximum height of status window.

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

setMessages

Sets a new value for property messages.

The set of sap.ui.core.Message objects to display.

Only the following properties of each message will be used:

  • level
  • text
  • icon

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

sap.ui.vtm.MessagesPopover.extend

Creates a new subclass of class sap.ui.vtm.MessagesPopover with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.m.Popover.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

getMaxHeight

Gets current value of property maxHeight.

Maximum height of status window.

getMessages

Gets current value of property messages.

The set of sap.ui.core.Message objects to display.

Only the following properties of each message will be used:

sap.ui.vtm.MessagesPopover.getMetadata

Returns a metadata object for class sap.ui.vtm.MessagesPopover.

setMaxHeight

Sets a new value for property maxHeight.

Maximum height of status window.

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

Param Type DefaultValue Description
sMaxHeight sap.ui.core.CSSSize

New value for property maxHeight

setMessages

Sets a new value for property messages.

The set of sap.ui.core.Message objects to display.

Only the following properties of each message will be used:

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

Param Type DefaultValue Description
sMessages object[]

New value for property messages