Abstract Class sap.ui.vbm.VoAbstractModule: sap/ui/vbm/VoAbstract

extends Element
known direct subclasses: VoAggregation

Abstract VO aggregation container. This element implements the common part for VOs. It must not be used directly, but is the base for further extension.

Constructor Summary
new sap.ui.vbm.VoAbstract(sId?, mSettings?)Constructor for a new VoAbstract.
Method Summary
sap.ui.vbm.VoAbstract.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.vbm.VoAbstract with name sClassName and enriches it with the information contained in oClassInfo.
sap.ui.vbm.VoAbstract.getMetadata()Returns a metadata object for class sap.ui.vbm.VoAbstract.
openContextMenu(sType, oVoInst, oMenu)Open a context menu
Constructor Detail
new sap.ui.vbm.VoAbstract(sId?, mSettings?)
Constructor for a new VoAbstract.
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.ui.vbm.VoAbstract.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ui.vbm.VoAbstract 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.ui.vbm.VoAbstract.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.vbm.VoAbstract.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
openContextMenu(sType, oVoInst, oMenu): void
Open a context menu
Parameters:
{string}sType Type of VO
{sap.ui.vbm.VoBase}oVoInst VO instance for which the Context Menu should be opened
{sap.ui.unified.Menu}oMenu the context menu to be opened