QuickViewGroupElement is a combination of one label and another control (Link or Text) associated to this label.
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 |
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 |
Method | Description |
---|---|
sap.m.QuickViewGroupElement.extend |
Creates a new subclass of class sap.m.QuickViewGroupElement with name
|
getEmailSubject |
Gets current value of property emailSubject. The subject of the email. Works only with QuickViewGroupElement of type email. Default value is |
getLabel |
Gets current value of property label. Specifies the text displayed below the associated label. Default value is |
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 |
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 |
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 |
getUrl |
Gets current value of property url. Specifies the address of the QuickViewGroupElement link. Works only with QuickViewGroupElement of type link. Default value is |
getValue |
Gets current value of property value. Specifies the text of the control that associates with the label. Default value is |
getVisible |
Gets current value of property visible. Determines whether the element should be visible on the screen. Default value is |
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 Default value is |
setLabel |
Sets a new value for property label. Specifies the text displayed below the associated label. When called with a value of Default value is |
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 Default value is |
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 Default value is |
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 Default value is |
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 Default value is |
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 Default value is |
setVisible |
Sets a new value for property visible. Determines whether the element should be visible on the screen. When called with a value of Default value is |
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 |
Gets current value of property emailSubject.
The subject of the email. Works only with QuickViewGroupElement of type email.
Default value is empty string
.
Gets current value of property label.
Specifies the text displayed below the associated label.
Default value is empty string
.
Returns a metadata object for class sap.m.QuickViewGroupElement.
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
.
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"
.
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
.
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
.
Gets current value of property value.
Specifies the text of the control that associates with the label.
Default value is empty string
.
Gets current value of property visible.
Determines whether the element should be visible on the screen.
Default value is true
.
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |