Link
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.
| Runtime Class |
CL_WD_LINK |
Properties in 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 |
||
| styleClassName | STRING | Yes | |
|
Translatable text |
Yes |
||
|
WDUI_TEXT_DIRECTION |
inherit |
Yes |
|
|
Translatable text |
Yes |
||
|
WDUI_VISIBILITY |
visible |
Yes |
|
|
WDY_BOOLEAN |
false |
Yes |
Dynamic Programming
For dynamic programming, the same properties, events, and aggregations as in the View Designer are available. But note that the spelling format and use of upper/lower case is different.
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 |
|
| styleClassName | STYLE_CLASS_NAME | 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 |