Show TOC Start of Content Area

This graphic is explained in the accompanying text DateNavigator This graphic is explained in the accompanying text  Locate the document in its SAP Library structure

The Web Dynpro class DateNavigator, which implements the IWDDateNavigatorinterface, is the base class of a calendar UI element.

Description of UI Element Properties

      accessibilityDescription

When accessibility is activated, the assigned text is added to the quick info. This description provides semantic details of the UI element and is only read by the screen reader if the user focuses the complete Ul element.

      firstDayOfWeek

The firstDayOfWeekproperty can take the following values and is represented by enumeration type WDDayOfWeek.

auto

Specifies the first day of the week automatically - for example, according to the country-specific beginning of the week.

friday

Friday with the ordinal number defined in java.util.Calendar.

monday

Monday with the ordinal number defined in java.util.Calendar.

saturday

Saturday with the ordinal number defined in java.util.Calendar.

sunday

Sunday with the ordinal number defined in java.util.Calendar.

thursday

Thursday with the ordinal number defined in java.util.Calendar.

tuesday

Tuesday with the ordinal number defined in java.util.Calendar.

wednesday

Wednesday with the ordinal number defined in java.util.Calendar.

      firstSelectedDate

Specifies the first date in the selected date range.

      lastSelectedDate

Specifies the last date in the selected date range.

      legendId

Specifies the ID of the assigned legend.

      monthsPerColumn

You use this property to specify the number of months in a column.

      monthsPerRow

You use this property to specify the number of months in a row.

      selectionMode

Specifies whether the user can choose a single date or a range of dates.
The
selectionModeproperty can be filled with the following values and is represented by the enumeration type WDTableSelectionMode.

none

A date or date range cannot be selected.

range

The user can choose a contiguous block of dates.

single

The user can choose only one date.

 

      startsWith

Defines the start of the displayed date range.

Properties Overview

Name

Interface

Type

Initial Value

Bindable

accessibilityDescription

IWDDateNavigator

String (TranslatableText)

 

bindable

enabled

IWDUIElement

boolean

true

bindable

firstDayOfWeek

IWDDateNavigator

WDDayOfWeek

auto

bindable

firstSelectedDate

IWDDateNavigator

java.sql.Date

 

bindable

lastSelectedDate

IWDDateNavigator

java.sql.Date

 

bindable

legendId

IWDDateNavigator

String

 

bindable

monthsPerColumn

IWDDateNavigator

int

1

bindable

monthsPerRow

IWDDateNavigator

int

3

bindable

selectionMode

IWDDateNavigator

WDDateSelectionMode

single

bindable

startsWith

IWDDateNavigator

java.sql.Date

 

bindable

tooltip

IWDUIElement

String (TranslatableText)

 

bindable

visible

IWDUIElement

WDVisibility

visible

bindable

Events

      onDaySelect (java.sql.Date day)

Specifies the action executed when the user selects a day. The event parameter is the chosen day. The parameter day is of the typejava.sql.Date and is the selected day.

      onMonthSelect (int month, int year)

Specifies the action executed when the user selects a month. Event parameters are the chosen months (in the range of 1 to 12) and the chosen year is of the type integer.

      onStartDateChanged (java.sql.Date startDate)

Specifies the action that is carried out when the user changes the startsWithproperty. The event parameter startDate of the type java.sql.Date is the new start date.

      onWeekSelect (java.sql.Date firstDay, int week, int year)

The event is triggered when the user selects a week. The event parameter firstDayreplaces the deprecated parameter week, because the number of the week depends on the user’s locale settings. year is the selected year and is of type integer.

 

End of Content Area