Menu
Use
With this UI element you can create a menu for your UI element. This is done with aggregation and is available for the following UI elements:
Example of the Visual Display
|
LinkToURL with Menu |
|
|
|
Runtime Class |
CL_WD_MENU |
Properties in View Designer
|
Name |
Type |
Initial Value |
Bindable |
|---|---|---|---|
|
STRING |
(automatic) |
No |
|
|
STRING |
Yes |
||
|
WDUI_TEXT_DIRECTION |
inherit |
Yes |
|
|
Translatable text |
Yes |
||
|
WDY_BOOLEAN |
true |
Yes |
Aggregations in View Designer
|
Name |
Cardinality |
Type |
|---|---|---|
|
0..n |
Dynamic Programming
For dynamic programming, the same properties, events and aggregations are available as in the View Designer. Note the different spellings.
Dynamic Programming of Properties
|
View Designer Name |
Runtime Name |
Type |
|---|---|---|
|
IMAGE_SOURCE |
STRING |
|
|
TEXT_DIRECTION |
WDUI_TEXT_DIRECTION |
|
|
textDirection inherit |
CL_WD_MENU=>E_TEXT_DIRECTION-INHERIT |
|
|
textDirection ltr |
CL_WD_MENU=>E_TEXT_DIRECTION-LTR |
|
|
textDirection rtl |
CL_WD_MENU=>E_TEXT_DIRECTION-RTL |
|
|
TITLE |
WDY_MD_TRANSLATABLE_TEXT |
|
|
VISIBLE |
WDY_BOOLEAN |
Dynamic Programming of Aggregations
|
View Designer Name |
Runtime Name |
Cardinality |
|---|---|---|
|
ITEMS |
0..n |
Example
There is a system example for this UI element in the DEMO_UIEL_MENU component in the DEMO_UIEL_MENUBAR application.
