A FrameworkLegendItem is an element of a Legend and consists of a color field and a text. A FrameworkLegendItemreferences semantics that are provided from the Web Dynpro Framework, for example the semantics of the current day in a calendar.
● frameworkSemantics
This property can take the following values and is represented by enumeration type WDLegendItemSemantics.
○ subtotal
○ today
○ total
● text
Determines the text of the FrameworkLegendItem.
● textDirection
Specifies the text direction and allows you to use a FrameworkLegendItem for texts in languages that require a specific text direction. The textDirection property can take the following values and is represented by enumeration type WDTextDirection.
inherit |
The text direction is inherited from the parent element. The text direction is therefore identical to the one of the parent element. |
ltr |
The text runs from left to right. |
rtl |
The text runs from right to left. |
The default value for this property is inherit.
● tooltip
This property describes a note for the FrameworkLegendItem that is displayed when the user places the cursor on the FrameworkLegendItem.
● visible
Determines whether the FrameworkLegendItem is visible.
Name |
Interface |
Type |
Initial Value |
Bindable |
frameworkSemantics |
IWDFrameworkLegendItem |
WDLegendItemSemantic |
today |
bindable |
text |
IWDAbstractLegendItem |
String |
|
bindable |
textDirection |
IWDAbstractLegendItem |
WDTextDirection |
inherit |
bindable |
tooltip |
IWDAbstractLegendItem |
String |
|
bindable |
visible |
IWDAbstractLegendItem |
boolean |
true |
bindable |