
The Link UI element is the basis for UI elements of a hypertext link type. The classes LinkToAction and LinkToURL inherit all the properties of this UI element.The UI element consists of a text and a graphic.
To enable the development of accessible applications, the tooltip property is checked during the syntax check if the property text has not been set.
A tooltip does not necessarily have to be set for this UI element, but it could make sense to set it if it contains detailed semantic information.
| Runtime Class |
CL_WD_LINK |
Properties in the View Designer
| Name | Type | Initial Value | Bindable |
|---|---|---|---|
|
STRING |
(automatic) |
No |
|
|
WDY_BOOLEAN |
false |
No |
|
|
WDUI_CONTEXT_MENU_BEHAVIOUR |
inherit |
No |
|
|
WDY_MD_UI_ELEMENT_REFERENCE |
No |
||
|
WDUI_LINK_DESIGN |
standard |
Yes |
|
|
WDY_BOOLEAN |
true |
Yes |
|
|
WDY_BOOLEAN |
true |
Yes |
|
|
STRING |
Yes |
||
|
STRING |
Yes |
||
|
STRING |
Yes |
||
|
Translatable text |
Yes |
||
|
WDUI_TEXT_DIRECTION |
inherit |
Yes |
|
|
Translatable text |
Yes |
||
|
WDUI_VISIBILITY |
visible |
Yes |
|
|
WDY_BOOLEAN |
false |
Yes |
Other properties that can be inherited are defined in the associated higher-level classes. The associated UI elements are:
For dynamic programming, the same properties, events, and aggregations as in the View Designer are available. Bear in mind the different spellings.
Dynamic Programming of Properties
| View Designer Name | Runtime Name | Type |
|---|---|---|
|
ACTIVATE_ACCESS_KEY |
WDY_BOOLEAN |
|
|
CONTEXT_MENU_BEHAVIOUR |
WDUI_CONTEXT_MENU_BEHAVIOUR |
|
|
contextMenuBehaviour: inherit |
CL_WD_LINK=>E_CONTEXT_MENU_BEHAVIOUR-INHERIT |
|
|
contextMenuBehaviour: provide |
CL_WD_LINK=>E_CONTEXT_MENU_BEHAVIOUR-PROVIDE |
|
|
contextMenuBehaviour: suppress |
CL_WD_LINK=>E_CONTEXT_MENU_BEHAVIOUR-SUPPRESS |
|
|
CONTEXT_MENU_ID |
WDY_MD_UI_ELEMENT_REFERENCE |
|
|
DESIGN |
WDUI_LINK_DESIGN |
|
|
design: emphasized |
CL_WD_LINK=>E_DESIGN-EMPHASIZED |
|
|
design: standard |
CL_WD_LINK=>E_DESIGN-STANDARD |
|
|
ENABLED |
WDY_BOOLEAN |
|
|
IMAGE_FIRST |
WDY_BOOLEAN |
|
|
IMAGE_HEIGHT |
STRING |
|
|
IMAGE_SOURCE |
STRING |
|
|
IMAGE_WIDTH |
STRING |
|
|
TEXT |
WDY_MD_TRANSLATABLE_TEXT |
|
|
TEXT_DIRECTION |
WDUI_TEXT_DIRECTION |
|
|
textDirection inherit |
CL_WD_LINK=>E_TEXT_DIRECTION-INHERIT |
|
|
textDirection ltr |
CL_WD_LINK=>E_TEXT_DIRECTION-LTR |
|
|
textDirection rtl |
CL_WD_LINK=>E_TEXT_DIRECTION-RTL |
|
|
TOOLTIP |
WDY_MD_TRANSLATABLE_TEXT |
|
|
VISIBLE |
WDUI_VISIBILITY |
|
|
visible: none |
CL_WD_LINK=>E_VISIBLE-NONE |
|
|
visible: visible |
CL_WD_LINK=>E_VISIBLE-VISIBLE |
|
|
WRAPPING |
WDY_BOOLEAN |