The Web Dynpro class DateNavigator, which implements the IWDDateNavigator interface, is the base class of a calendar UI element.
· 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 be filled with the following values and is represented by the 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 selectionMode
property 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.
Name |
Interface |
Type |
Initial Value |
Bindable |
Value Required |
accessibilityDescription |
IWDDateNavigator |
String (TranslatableText) |
|
bindable |
No |
enabled |
IWDUIElement |
boolean |
true |
bindable |
No |
firstDayOfWeek |
IWDDateNavigator |
WDDayOfWeek |
auto |
bindable |
No |
firstSelectedDate |
IWDDateNavigator |
java.sql.Date |
|
bindable |
No |
lastSelectedDate |
IWDDateNavigator |
java.sql.Date |
|
bindable |
No |
legendId |
IWDDateNavigator |
String |
|
bindable |
No |
monthsPerColumn |
IWDDateNavigator |
int |
1 |
bindable |
No |
monthsPerRow |
IWDDateNavigator |
int |
3 |
bindable |
No |
selectionMode |
IWDDateNavigator |
WDDateSelectionMode |
single |
bindable |
No |
startsWith |
IWDDateNavigator |
java.sql.Date |
|
bindable |
No |
tooltip |
IWDUIElement |
String (TranslatableText) |
|
bindable |
No |
visible |
IWDUIElement |
WDVisibility |
visible |
bindable |
No |
· 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 startsWidth property. The event parameter startDate of the type java.sql.Date is the new start date.
· onWeekSelect (int week, int year)
Specifies the action that is executed when the user selects a week. The event parameters week and year are the selected week (in the range 1 to 53) and the selected year is of the type integer.