Class sap.m.QuickViewCardModule: sap/m/QuickViewCard


The QuickViewCard control displays information of an object in a business-card format. It also allows this object to be linked to another object using one of the links. Clicking that link updates the information with the data of the linked object. Unlimited number of objects can be linked.


Since: 1.28.11.
Constructor Summary
new sap.m.QuickViewCard(sId?, mSettings?)Constructor for a new QuickViewCard.
Events borrowed from class sap.m.QuickViewBase
Events borrowed from class sap.ui.core.Control
Method Summary
sap.m.QuickViewCard.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.m.QuickViewCard with name sClassName and enriches it with the information contained in oClassInfo.
sap.m.QuickViewCard.getMetadata()Returns a metadata object for class sap.m.QuickViewCard.
getShowVerticalScrollBar()Gets current value of property showVerticalScrollBar.
setShowVerticalScrollBar(bShowVerticalScrollBar)Sets a new value for property showVerticalScrollBar.
Constructor Detail
new sap.m.QuickViewCard(sId?, mSettings?)
Constructor for a new QuickViewCard.

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.m.QuickViewBase 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.QuickViewCard.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.m.QuickViewCard 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.QuickViewBase.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.QuickViewCard.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.m.QuickViewCard.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getShowVerticalScrollBar(): boolean
Gets current value of property showVerticalScrollBar.

Determines whether the browser displays the vertical scroll bar or simply cuts the content of the QuickViewCard.

Default value is true.

Returns:
{boolean} Value of property showVerticalScrollBar
setShowVerticalScrollBar(bShowVerticalScrollBar): sap.m.QuickViewCard
Sets a new value for property showVerticalScrollBar.

Determines whether the browser displays the vertical scroll bar or simply cuts the content of the QuickViewCard.

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

Default value is true.

Parameters:
{boolean}bShowVerticalScrollBar New value for property showVerticalScrollBar
Returns:
{sap.m.QuickViewCard} Reference to this in order to allow method chaining