A control that can be used to show messages applied to a tree item.
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()
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:
|
Method | Description |
---|---|
sap.ui.vtm.MessagesPopover.extend |
Creates a new subclass of class sap.ui.vtm.MessagesPopover with name
|
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 |
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 |
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 |
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
Returns a metadata object for class sap.ui.vtm.MessagesPopover.
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 |
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.
Param | Type | DefaultValue | Description |
---|---|---|---|
sMessages | object[] |
New value for property |