Class sap.m.QuickViewGroupElementModule: sap/m/QuickViewGroupElement
QuickViewGroupElement is a combination of one label and another control (Link or Text) associated to this label.
Since: 1.28.11.
sClassName
and enriches it with the information contained in oClassInfo
. 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:
- Properties
- visible : boolean (default: true)
- label : string (default: )
- value : string (default: )
- url : string (default: )
- target : string (default: _blank)
- type : sap.m.QuickViewGroupElementType (default: GroupElementType.text)
- pageLinkId : string (default: )
- emailSubject : string (default: )
In addition, all settings applicable to the base type sap.ui.core.Element can be used as well.
{string} | sId? | ID for the new control, generated automatically if no ID is given |
{object} | mSettings? | Initial settings for the new control |
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.
{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 |
{function} | Created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
emailSubject
. The subject of the email. Works only with QuickViewGroupElement of type email.
Default value is .
{string} | Value of property emailSubject |
label
. Specifies the text displayed below the associated label.
Default value is .
{string} | Value of property label |
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 .
{string} | Value of property pageLinkId |
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
.
{string} | Value of property target |
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 GroupElementType.text
.
{sap.m.QuickViewGroupElementType} | Value of property type |
url
. Specifies the address of the QuickViewGroupElement link. Works only with QuickViewGroupElement of type link.
Default value is .
{string} | Value of property url |
value
. Specifies the text of the control that associates with the label.
Default value is .
{string} | Value of property value |
visible
. Determines whether the element should be visible on the screen.
Default value is true
.
{boolean} | Value of property visible |
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 .
{string} | sEmailSubject | New value for property emailSubject |
{sap.m.QuickViewGroupElement} | Reference to this in order to allow method chaining |
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 .
{string} | sLabel | New value for property label |
{sap.m.QuickViewGroupElement} | Reference to this in order to allow method chaining |
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 .
{string} | sPageLinkId | New value for property pageLinkId |
{sap.m.QuickViewGroupElement} | Reference to this in order to allow method chaining |
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
.
{string} | sTarget | New value for property target |
{sap.m.QuickViewGroupElement} | Reference to this in order to allow method chaining |
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 GroupElementType.text
.
{sap.m.QuickViewGroupElementType} | sType | New value for property type |
{sap.m.QuickViewGroupElement} | Reference to this in order to allow method chaining |
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 .
{string} | sUrl | New value for property url |
{sap.m.QuickViewGroupElement} | Reference to this in order to allow method chaining |
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 .
{string} | sValue | New value for property value |
{sap.m.QuickViewGroupElement} | Reference to this in order to allow method chaining |
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
.
{boolean} | bVisible | New value for property visible |
{sap.m.QuickViewGroupElement} | Reference to this in order to allow method chaining |