Class sap.ui.comp.navpopover.LinkDataModule: sap/ui/comp/navpopover/LinkData
Stores display text together with a navigation target hyperlink.
The LinkData class is used by SmartLink and SemanticObjectController to define the visible links on NavigationPopover.
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:
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 |
href. Destination link for a navigation operation in internal format. Note: The link will be encoded before it is shown in external format using the hrefForExternal method of the CrossApplicationNavigation service.
- Since:
- 1.28.0
| {string} | Value of property href |
target. The standard values for the target property are: _self, _top, _blank, _parent, _search. Alternatively, a frame name can be entered. This property is only used if the href property is set.
| {string} | Value of property target |
text. Text which can be displayed on the UI
- Since:
- 1.28.0
| {string} | Value of property text |
href. Destination link for a navigation operation in internal format. Note: The link will be encoded before it is shown in external format using the hrefForExternal method of the CrossApplicationNavigation service.
When called with a value of null or undefined, the default value of the property will be restored.
| {string} | sHref | New value for property href |
- Since:
- 1.28.0
| {sap.ui.comp.navpopover.LinkData} | Reference to this in order to allow method chaining |
target. The standard values for the target property are: _self, _top, _blank, _parent, _search. Alternatively, a frame name can be entered. This property is only used if the href property is set.
When called with a value of null or undefined, the default value of the property will be restored.
| {string} | sTarget | New value for property target |
| {sap.ui.comp.navpopover.LinkData} | Reference to this in order to allow method chaining |
text. Text which can be displayed on the UI
When called with a value of null or undefined, the default value of the property will be restored.
| {string} | sText | New value for property text |
- Since:
- 1.28.0
| {sap.ui.comp.navpopover.LinkData} | Reference to this in order to allow method chaining |