Start of Content Area

Background documentation AbstractLegendItem  Locate the document in its SAP Library structure

AbstractLegendItem is the abstract UI element of a LegendItem.

Runtime Class

CL_WD_ABSTRACT_LEGEND_ITEM

 

Properties in View Designer

Name

Type

Initial Value

Bindable

ID

STRING

(automatic)

No

text

Translatable text

 

Yes

textDirection

WDUI_TEXT_DIRECTION

inherit

Yes

tooltip

Translatable text

 

Yes

visible

WDY_BOOLEAN

true

Yes

Note

Other properties that can be inherited are defined in the associated higher-level classes. The associated UI elements are:

        ViewElement

Dynamic Programming

For dynamic programming, the same properties, events and aggregations are available as in the View Designer. Bear in mind the different spellings.

Dynamic Programming of Properties

View Designer Name

Runtime Name

Type

text

TEXT

WDY_MD_TRANSLATABLE_TEXT

textDirection

TEXT_DIRECTION

WDUI_TEXT_DIRECTION

 textDirection: inherit

CL_WD_ABSTRACT_LEGEND_ITEM=>E_TEXT_DIRECTION-INHERIT

 textDirection: ltr

CL_WD_ABSTRACT_LEGEND_ITEM=>E_TEXT_DIRECTION-LTR

 textDirection: rtl

CL_WD_ABSTRACT_LEGEND_ITEM=>E_TEXT_DIRECTION-RTL

tooltip

TOOLTIP

WDY_MD_TRANSLATABLE_TEXT

visible

VISIBLE

WDY_BOOLEAN

 

 

End of Content Area