Start of Content Area

Background documentation DateNavigatorLegend  Locate the document in its SAP Library structure

Caution

This UI element is deprecated. Instead, use UI element Legend.

The DateNavigatorLegend element (IWDDateNavigatorLegend) allows you to add a legend using the DateNavigator. You can use this view element with the DateNavigatorMarking view element to highlight calendar entries and to associate them with the legend entries. A maximum of four legend entries can be used, according to the categories described below. Legend entries are stored as elements of a context node. Each highlighting of a date is stored in a separate context node. If the value of the category attribute equals the value of the legend item category, the category refers to the corresponding legend item.

 

Runtime Class

CL_WD_DATE_NAV_LEGEND

 

Properties in the View Designer

Name

Type

Initial Value

Bindable

id

STRING

(automatic)

No

category

WDUI_DATE_MARKING_CATEGORY

one

Mandatory

dataSource

Context node

 

Mandatory

text

Translatable text

 

Yes

textDirection

WDUI_TEXT_DIRECTION

inherit

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 as in the View Designer are available. Bear in mind the different spellings.

Dynamic Programming of Properties

View Designer Name

Runtime Name

Type

category

CATEGORY

WDUI_DATE_MARKING_CATEGORY

category four

CL_WD_DATE_NAV_LEGEND=>E_CATEGORY-FOUR

category one

CL_WD_DATE_NAV_LEGEND=>E_CATEGORY-ONE

category three

CL_WD_DATE_NAV_LEGEND=>E_CATEGORY-THREE

category two

CL_WD_DATE_NAV_LEGEND=>E_CATEGORY-TWO

dataSource

DATA_SOURCE

OBJECT

text

TEXT

WDY_MD_TRANSLATABLE_TEXT

textDirection

TEXT_DIRECTION

WDUI_TEXT_DIRECTION

textDirection inherit

CL_WD_DATE_NAV_LEGEND=>E_TEXT_DIRECTION-INHERIT

textDirection ltr

CL_WD_DATE_NAV_LEGEND=>E_TEXT_DIRECTION-LTR

textDirection rtl

CL_WD_DATE_NAV_LEGEND=>E_TEXT_DIRECTION-RTL

 

 

End of Content Area