Entering content frame

Background documentation DateNavigatorLegend Locate the document in its SAP Library structure

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 entry category, the category refers to the corresponding legend entry.

 

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

Text

 

Yes

textDirection

WDUI_TEXT_DIRECTION

inherit

Yes

Note

Further properties that can be inherited are defined in the associated higher-level class.  The associated interface elements are:

·         ViewElement

Dynamic Programming

For dynamic programming the same properties, events, and aggregations are provided in the View Designer. 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

 

 

 

Leaving content frame