FrameworkLegendItem
A FrameworkLegendItem is an element of a Legend that consists of a color field and a text. You can use it, for instance, to reference today's date in a calendar.
Runtime Class |
CL_WD_FW_LEGEND_ITEM |
Properties in the View Designer
Name |
Type |
Initial Value |
Bindable |
STRING |
(automatic) |
No |
|
WDUI_LEGEND_ITEM_SEMANTIC |
today |
Yes |
|
Translatable text |
|
Yes |
|
WDUI_TEXT_DIRECTION |
inherit |
Yes |
|
Translatable text |
|
Yes |
|
WDY_BOOLEAN |
true |
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 |
FW_SEMANTICS |
WDUI_LEGEND_ITEM_SEMANTIC |
|
frameworkSemantics: subtotal |
CL_WD_FW_LEGEND_ITEM=>E_FW_SEMANTICS-SUBTOTAL |
|
frameworkSemantics: today |
CL_WD_FW_LEGEND_ITEM=>E_FW_SEMANTICS-TODAY |
|
frameworkSemantics: total |
CL_WD_FW_LEGEND_ITEM=>E_FW_SEMANTICS-TOTAL |
|
TEXT |
WDY_MD_TRANSLATABLE_TEXT |
|
TEXT_DIRECTION |
WDUI_TEXT_DIRECTION |
|
textDirection inherit |
CL_WD_FW_LEGEND_ITEM=>E_TEXT_DIRECTION-INHERIT |
|
textDirection ltr |
CL_WD_FW_LEGEND_ITEM=>E_TEXT_DIRECTION-LTR |
|
textDirection rtl |
CL_WD_FW_LEGEND_ITEM=>E_TEXT_DIRECTION-RTL |
|
TOOLTIP |
WDY_MD_TRANSLATABLE_TEXT |
|
VISIBLE |
WDY_BOOLEAN |
|