class sap.m.QuickViewCard

Control sample: sap.m.QuickViewCard
Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Module: sap/m/QuickViewCard
Application Component: CA-UI5-CTR

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.


Constructor

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#constructor for a general description of the syntax of the settings object.

new sap.m.QuickViewCard(sId?, mSettings?)
Param Type Default Value Description
sId? string

ID for the new control, generated automatically if no ID is given

mSettings? object

Initial settings for the new control


Properties

Name Type Default Value Description
showVerticalScrollBar boolean true

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

Visibility: public

Borrowed Aggregations

Name Cardinality Type Description
pages 0..n sap.m.QuickViewPage

Displays a page header, object icon or image, object name with short description, and object information divided in groups


Methods Overview

Method Description
sap.m.QuickViewCard.extend

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.

sap.m.QuickViewCard.getMetadata

Returns a metadata object for class sap.m.QuickViewCard.

getShowVerticalScrollBar

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.

setShowVerticalScrollBar

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.

sap.m.QuickViewCard.extend

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.

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

sap.m.QuickViewCard.getMetadata

Returns a metadata object for class sap.m.QuickViewCard.

getShowVerticalScrollBar

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.

setShowVerticalScrollBar

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.

Param Type DefaultValue Description
bShowVerticalScrollBar boolean true

New value for property showVerticalScrollBar