class sap.m.QuickViewGroupElement

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

QuickViewGroupElement is a combination of one label and another control (Link or Text) associated to this label.


Constructor

Constructor for a new QuickViewGroupElement.

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.QuickViewGroupElement(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
emailSubject string empty string

The subject of the email. Works only with QuickViewGroupElement of type email.

Visibility: public
label string empty string

Specifies the text displayed below the associated label.

Visibility: public
pageLinkId string empty string

Specifies the ID of the QuickViewPage, which is opened from the link in the QuickViewGroupElement. Works only with QuickViewGroupElement of type pageLink.

Visibility: public
target string _blank

Specifies the target of the link - it works like the target property of the HTML tag. Works only with QuickViewGroupElement of type link.

Visibility: public
type sap.m.QuickViewGroupElementType text

Specifies the type of the displayed information - phone number, mobile number, e-mail, link, text or a link to another QuickViewPage. Default value is 'text'.

Visibility: public
url string empty string

Specifies the address of the QuickViewGroupElement link. Works only with QuickViewGroupElement of type link.

Visibility: public
value string empty string

Specifies the text of the control that associates with the label.

Visibility: public
visible boolean true

Determines whether the element should be visible on the screen.

Visibility: public

Methods Overview

Method Description
sap.m.QuickViewGroupElement.extend

Creates a new subclass of class sap.m.QuickViewGroupElement 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.

getEmailSubject

Gets current value of property emailSubject.

The subject of the email. Works only with QuickViewGroupElement of type email.

Default value is empty string.

getLabel

Gets current value of property label.

Specifies the text displayed below the associated label.

Default value is empty string.

sap.m.QuickViewGroupElement.getMetadata

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

getPageLinkId

Gets current value of property pageLinkId.

Specifies the ID of the QuickViewPage, which is opened from the link in the QuickViewGroupElement. Works only with QuickViewGroupElement of type pageLink.

Default value is empty string.

getTarget

Gets current value of property target.

Specifies the target of the link - it works like the target property of the HTML tag. Works only with QuickViewGroupElement of type link.

Default value is "_blank".

getType

Gets current value of property type.

Specifies the type of the displayed information - phone number, mobile number, e-mail, link, text or a link to another QuickViewPage. Default value is 'text'.

Default value is text.

getUrl

Gets current value of property url.

Specifies the address of the QuickViewGroupElement link. Works only with QuickViewGroupElement of type link.

Default value is empty string.

getValue

Gets current value of property value.

Specifies the text of the control that associates with the label.

Default value is empty string.

getVisible

Gets current value of property visible.

Determines whether the element should be visible on the screen.

Default value is true.

setEmailSubject

Sets a new value for property emailSubject.

The subject of the email. Works only with QuickViewGroupElement of type email.

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

Default value is empty string.

setLabel

Sets a new value for property label.

Specifies the text displayed below the associated label.

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

Default value is empty string.

setPageLinkId

Sets a new value for property pageLinkId.

Specifies the ID of the QuickViewPage, which is opened from the link in the QuickViewGroupElement. Works only with QuickViewGroupElement of type pageLink.

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

Default value is empty string.

setTarget

Sets a new value for property target.

Specifies the target of the link - it works like the target property of the HTML tag. Works only with QuickViewGroupElement of type link.

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

Default value is "_blank".

setType

Sets a new value for property type.

Specifies the type of the displayed information - phone number, mobile number, e-mail, link, text or a link to another QuickViewPage. Default value is 'text'.

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

Default value is text.

setUrl

Sets a new value for property url.

Specifies the address of the QuickViewGroupElement link. Works only with QuickViewGroupElement of type link.

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

Default value is empty string.

setValue

Sets a new value for property value.

Specifies the text of the control that associates with the label.

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

Default value is empty string.

setVisible

Sets a new value for property visible.

Determines whether the element should be visible on the screen.

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

Default value is true.

sap.m.QuickViewGroupElement.extend

Creates a new subclass of class sap.m.QuickViewGroupElement 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.

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

getEmailSubject

Gets current value of property emailSubject.

The subject of the email. Works only with QuickViewGroupElement of type email.

Default value is empty string.

getLabel

Gets current value of property label.

Specifies the text displayed below the associated label.

Default value is empty string.

sap.m.QuickViewGroupElement.getMetadata

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

getPageLinkId

Gets current value of property pageLinkId.

Specifies the ID of the QuickViewPage, which is opened from the link in the QuickViewGroupElement. Works only with QuickViewGroupElement of type pageLink.

Default value is empty string.

getTarget

Gets current value of property target.

Specifies the target of the link - it works like the target property of the HTML tag. Works only with QuickViewGroupElement of type link.

Default value is "_blank".

getType

Gets current value of property type.

Specifies the type of the displayed information - phone number, mobile number, e-mail, link, text or a link to another QuickViewPage. Default value is 'text'.

Default value is text.

getUrl

Gets current value of property url.

Specifies the address of the QuickViewGroupElement link. Works only with QuickViewGroupElement of type link.

Default value is empty string.

getValue

Gets current value of property value.

Specifies the text of the control that associates with the label.

Default value is empty string.

getVisible

Gets current value of property visible.

Determines whether the element should be visible on the screen.

Default value is true.

setEmailSubject

Sets a new value for property emailSubject.

The subject of the email. Works only with QuickViewGroupElement of type email.

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

Default value is empty string.

Param Type DefaultValue Description
sEmailSubject string ""

New value for property emailSubject

setLabel

Sets a new value for property label.

Specifies the text displayed below the associated label.

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

Default value is empty string.

Param Type DefaultValue Description
sLabel string ""

New value for property label

setPageLinkId

Sets a new value for property pageLinkId.

Specifies the ID of the QuickViewPage, which is opened from the link in the QuickViewGroupElement. Works only with QuickViewGroupElement of type pageLink.

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

Default value is empty string.

Param Type DefaultValue Description
sPageLinkId string ""

New value for property pageLinkId

setTarget

Sets a new value for property target.

Specifies the target of the link - it works like the target property of the HTML tag. Works only with QuickViewGroupElement of type link.

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

Default value is "_blank".

Param Type DefaultValue Description
sTarget string "_blank"

New value for property target

setType

Sets a new value for property type.

Specifies the type of the displayed information - phone number, mobile number, e-mail, link, text or a link to another QuickViewPage. Default value is 'text'.

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

Default value is text.

Param Type DefaultValue Description
sType sap.m.QuickViewGroupElementType text

New value for property type

setUrl

Sets a new value for property url.

Specifies the address of the QuickViewGroupElement link. Works only with QuickViewGroupElement of type link.

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

Default value is empty string.

Param Type DefaultValue Description
sUrl string ""

New value for property url

setValue

Sets a new value for property value.

Specifies the text of the control that associates with the label.

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

Default value is empty string.

Param Type DefaultValue Description
sValue string ""

New value for property value

setVisible

Sets a new value for property visible.

Determines whether the element should be visible on the screen.

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
bVisible boolean true

New value for property visible