|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro DateNavigator API.
A date navigator allows navigating through a calendar and selecting a day,
month or a year. The selectionMode determines if a single
date or a date range may be selected.
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
| Field Summary | |
static java.lang.String |
DEFAULT_ACCESSIBILITY_DESCRIPTION
Default value of property accessibilityDescription. |
static java.sql.Date |
DEFAULT_FIRST_SELECTED_DATE
Default value of property firstSelectedDate. |
static java.sql.Date |
DEFAULT_LAST_SELECTED_DATE
Default value of property lastSelectedDate. |
static int |
DEFAULT_MONTHS_PER_COLUMN
Default value of property monthsPerColumn. |
static int |
DEFAULT_MONTHS_PER_ROW
Default value of property monthsPerRow. |
static WDDateSelectionMode |
DEFAULT_SELECTION_MODE
Default value of property selectionMode. |
static java.sql.Date |
DEFAULT_STARTS_WITH
Default value of property startsWith. |
| Fields inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement |
DEFAULT_ENABLED, DEFAULT_TOOLTIP, DEFAULT_VISIBLE |
| Method Summary | |
void |
bindAccessibilityDescription(IWDAttributeInfo attributeInfo)
Binds property accessibilityDescription to the context attribute
specified by the given attribute info. |
void |
bindAccessibilityDescription(java.lang.String path)
Binds property accessibilityDescription to the context attribute
specified by path. |
void |
bindFirstSelectedDate(IWDAttributeInfo attributeInfo)
Binds property firstSelectedDate to the context attribute
specified by the given attribute info. |
void |
bindFirstSelectedDate(java.lang.String path)
Binds property firstSelectedDate to the context attribute
specified by path. |
java.lang.String |
bindingOfAccessibilityDescription()
Binding path of property accessibilityDescription. |
java.lang.String |
bindingOfFirstSelectedDate()
Binding path of property firstSelectedDate. |
java.lang.String |
bindingOfLastSelectedDate()
Binding path of property lastSelectedDate. |
java.lang.String |
bindingOfMonthsPerColumn()
Binding path of property monthsPerColumn. |
java.lang.String |
bindingOfMonthsPerRow()
Binding path of property monthsPerRow. |
java.lang.String |
bindingOfSelectionMode()
Binding path of property selectionMode. |
java.lang.String |
bindingOfStartsWith()
Binding path of property startsWith. |
void |
bindLastSelectedDate(IWDAttributeInfo attributeInfo)
Binds property lastSelectedDate to the context attribute
specified by the given attribute info. |
void |
bindLastSelectedDate(java.lang.String path)
Binds property lastSelectedDate to the context attribute
specified by path. |
void |
bindMonthsPerColumn(IWDAttributeInfo attributeInfo)
Binds property monthsPerColumn to the context attribute
specified by the given attribute info. |
void |
bindMonthsPerColumn(java.lang.String path)
Binds property monthsPerColumn to the context attribute
specified by path. |
void |
bindMonthsPerRow(IWDAttributeInfo attributeInfo)
Binds property monthsPerRow to the context attribute
specified by the given attribute info. |
void |
bindMonthsPerRow(java.lang.String path)
Binds property monthsPerRow to the context attribute
specified by path. |
void |
bindSelectionMode(IWDAttributeInfo attributeInfo)
Binds property selectionMode to the context attribute
specified by the given attribute info. |
void |
bindSelectionMode(java.lang.String path)
Binds property selectionMode to the context attribute
specified by path. |
void |
bindStartsWith(IWDAttributeInfo attributeInfo)
Binds property startsWith to the context attribute
specified by the given attribute info. |
void |
bindStartsWith(java.lang.String path)
Binds property startsWith to the context attribute
specified by path. |
void |
destroyLegend()
Destroys the Legend instance. |
void |
destroyMarking()
Destroys the Marking instance. |
java.lang.String |
getAccessibilityDescription()
Returns the value of the accessibilityDescription property. |
java.sql.Date |
getFirstSelectedDate()
Returns the value of the firstSelectedDate property. |
java.sql.Date |
getLastSelectedDate()
Returns the value of the lastSelectedDate property. |
IWDDateNavigatorLegend |
getLegend()
Gets the Legend instance. |
IWDDateNavigatorMarking |
getMarking()
Gets the Marking instance. |
int |
getMonthsPerColumn()
Returns the value of the monthsPerColumn property. |
int |
getMonthsPerRow()
Returns the value of the monthsPerRow property. |
IWDAction |
getOnDaySelect()
Returns the action to which the event onDaySelect is mapped. |
IWDAction |
getOnMonthSelect()
Returns the action to which the event onMonthSelect is mapped. |
IWDAction |
getOnStartDateChanged()
Returns the action to which the event onStartDateChanged is mapped. |
IWDAction |
getOnWeekSelect()
Returns the action to which the event onWeekSelect is mapped. |
WDDateSelectionMode |
getSelectionMode()
Returns the value of the selectionMode property. |
java.sql.Date |
getStartsWith()
Returns the value of the startsWith property. |
IWDParameterMapping |
mappingOfOnDaySelect()
Returns the parameter mapping of event onDaySelect. |
IWDParameterMapping |
mappingOfOnMonthSelect()
Returns the parameter mapping of event onMonthSelect. |
IWDParameterMapping |
mappingOfOnStartDateChanged()
Returns the parameter mapping of event onStartDateChanged. |
IWDParameterMapping |
mappingOfOnWeekSelect()
Returns the parameter mapping of event onWeekSelect. |
void |
setAccessibilityDescription(java.lang.String value)
Sets property accessibilityDescription to the new value. |
void |
setFirstSelectedDate(java.sql.Date value)
Sets property firstSelectedDate to the new value. |
void |
setLastSelectedDate(java.sql.Date value)
Sets property lastSelectedDate to the new value. |
void |
setLegend(IWDDateNavigatorLegend legend)
Sets the Legend instance. |
void |
setMarking(IWDDateNavigatorMarking marking)
Sets the Marking instance. |
void |
setMonthsPerColumn(int value)
Sets property monthsPerColumn to the new value. |
void |
setMonthsPerRow(int value)
Sets property monthsPerRow to the new value. |
void |
setOnDaySelect(IWDAction action)
Maps the event onDaySelect to the given action. |
void |
setOnMonthSelect(IWDAction action)
Maps the event onMonthSelect to the given action. |
void |
setOnStartDateChanged(IWDAction action)
Maps the event onStartDateChanged to the given action. |
void |
setOnWeekSelect(IWDAction action)
Maps the event onWeekSelect to the given action. |
void |
setSelectionMode(WDDateSelectionMode value)
Sets property selectionMode to the new value. |
void |
setStartsWith(java.sql.Date value)
Sets property startsWith to the new value. |
| Methods inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement |
bindEnabled, bindEnabled, bindingOfEnabled, bindingOfTooltip, bindingOfVisible, bindTooltip, bindTooltip, bindVisible, bindVisible, createLayoutData, getContainer, getEnabled, getLayoutData, getTooltip, getVisible, setEnabled, setTooltip, setVisible |
| Methods inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDViewElement |
getId, getView, requestFocus |
| Field Detail |
public static final java.lang.String DEFAULT_ACCESSIBILITY_DESCRIPTION
accessibilityDescription.public static final java.sql.Date DEFAULT_FIRST_SELECTED_DATE
firstSelectedDate.public static final java.sql.Date DEFAULT_LAST_SELECTED_DATE
lastSelectedDate.public static final int DEFAULT_MONTHS_PER_COLUMN
monthsPerColumn.public static final int DEFAULT_MONTHS_PER_ROW
monthsPerRow.public static final WDDateSelectionMode DEFAULT_SELECTION_MODE
selectionMode.public static final java.sql.Date DEFAULT_STARTS_WITH
startsWith.| Method Detail |
public IWDAction getOnDaySelect()
onDaySelect is mapped.
The event raised when a day is selected.mappingOfOnDaySelect()public void setOnDaySelect(IWDAction action)
onDaySelect to the given action.action - the action for the eventgetOnDaySelect()public IWDParameterMapping mappingOfOnDaySelect()
onDaySelect.
To be accessible in a view controller, a UI element event parameter has to be mapped to a controller event handler parameter. This is done by defining a parameter mapping.
Event parameters:getOnDaySelect()public IWDAction getOnMonthSelect()
onMonthSelect is mapped.
The event raised when a month is selected.mappingOfOnMonthSelect()public void setOnMonthSelect(IWDAction action)
onMonthSelect to the given action.action - the action for the eventgetOnMonthSelect()public IWDParameterMapping mappingOfOnMonthSelect()
onMonthSelect.
To be accessible in a view controller, a UI element event parameter has to be mapped to a controller event handler parameter. This is done by defining a parameter mapping.
Event parameters:getOnMonthSelect()public IWDAction getOnStartDateChanged()
onStartDateChanged is mapped.
Event that is triggered whenever the "startsWith" property is changed through user interactions.mappingOfOnStartDateChanged()public void setOnStartDateChanged(IWDAction action)
onStartDateChanged to the given action.action - the action for the eventgetOnStartDateChanged()public IWDParameterMapping mappingOfOnStartDateChanged()
onStartDateChanged.
To be accessible in a view controller, a UI element event parameter has to be mapped to a controller event handler parameter. This is done by defining a parameter mapping.
Event parameters:getOnStartDateChanged()public IWDAction getOnWeekSelect()
onWeekSelect is mapped.
The event raised when a week is selected.mappingOfOnWeekSelect()public void setOnWeekSelect(IWDAction action)
onWeekSelect to the given action.action - the action for the eventgetOnWeekSelect()public IWDParameterMapping mappingOfOnWeekSelect()
onWeekSelect.
To be accessible in a view controller, a UI element event parameter has to be mapped to a controller event handler parameter. This is done by defining a parameter mapping.
Event parameters:getOnWeekSelect()public void bindAccessibilityDescription(java.lang.String path)
accessibilityDescription to the context attribute
specified by path.path - the path of the context attribute to which the accessibilityDescription
property is boundpublic void bindAccessibilityDescription(IWDAttributeInfo attributeInfo)
accessibilityDescription to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
accessibilityDescription property is boundpublic java.lang.String bindingOfAccessibilityDescription()
accessibilityDescription.public java.lang.String getAccessibilityDescription()
accessibilityDescription property.
The initial value is "".
Short description for the DateNavigator (it's like a title) in the accessibility mode. It is only used if accessibility mode (508) is switched on and will be included into the tooltip. Its read by the screen reader when the whole UI element gets the focus.setAccessibilityDescription(String)public void setAccessibilityDescription(java.lang.String value)
accessibilityDescription to the new value.value - the new value of the accessibilityDescription propertygetAccessibilityDescription()public void bindFirstSelectedDate(java.lang.String path)
firstSelectedDate to the context attribute
specified by path.path - the path of the context attribute to which the firstSelectedDate
property is boundpublic void bindFirstSelectedDate(IWDAttributeInfo attributeInfo)
firstSelectedDate to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
firstSelectedDate property is boundpublic java.lang.String bindingOfFirstSelectedDate()
firstSelectedDate.public java.sql.Date getFirstSelectedDate()
firstSelectedDate property.
The initial value is new java.sql.Date(System.currentTimeMillis()).
setFirstSelectedDate(java.sql.Date)public void setFirstSelectedDate(java.sql.Date value)
firstSelectedDate to the new value.value - the new value of the firstSelectedDate propertygetFirstSelectedDate()public void bindLastSelectedDate(java.lang.String path)
lastSelectedDate to the context attribute
specified by path.path - the path of the context attribute to which the lastSelectedDate
property is boundpublic void bindLastSelectedDate(IWDAttributeInfo attributeInfo)
lastSelectedDate to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
lastSelectedDate property is boundpublic java.lang.String bindingOfLastSelectedDate()
lastSelectedDate.public java.sql.Date getLastSelectedDate()
lastSelectedDate property.
The initial value is new java.sql.Date(System.currentTimeMillis()).
setLastSelectedDate(java.sql.Date)public void setLastSelectedDate(java.sql.Date value)
lastSelectedDate to the new value.value - the new value of the lastSelectedDate propertygetLastSelectedDate()public void bindMonthsPerColumn(java.lang.String path)
monthsPerColumn to the context attribute
specified by path.path - the path of the context attribute to which the monthsPerColumn
property is boundpublic void bindMonthsPerColumn(IWDAttributeInfo attributeInfo)
monthsPerColumn to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
monthsPerColumn property is boundpublic java.lang.String bindingOfMonthsPerColumn()
monthsPerColumn.public int getMonthsPerColumn()
monthsPerColumn property.
The initial value is 1.
setMonthsPerColumn(int)public void setMonthsPerColumn(int value)
monthsPerColumn to the new value.value - the new value of the monthsPerColumn propertygetMonthsPerColumn()public void bindMonthsPerRow(java.lang.String path)
monthsPerRow to the context attribute
specified by path.path - the path of the context attribute to which the monthsPerRow
property is boundpublic void bindMonthsPerRow(IWDAttributeInfo attributeInfo)
monthsPerRow to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
monthsPerRow property is boundpublic java.lang.String bindingOfMonthsPerRow()
monthsPerRow.public int getMonthsPerRow()
monthsPerRow property.
The initial value is 3.
setMonthsPerRow(int)public void setMonthsPerRow(int value)
monthsPerRow to the new value.value - the new value of the monthsPerRow propertygetMonthsPerRow()public void bindSelectionMode(java.lang.String path)
selectionMode to the context attribute
specified by path.path - the path of the context attribute to which the selectionMode
property is boundpublic void bindSelectionMode(IWDAttributeInfo attributeInfo)
selectionMode to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
selectionMode property is boundpublic java.lang.String bindingOfSelectionMode()
selectionMode.public WDDateSelectionMode getSelectionMode()
selectionMode property.
The initial value is WDDateSelectionMode.SINGLE.
setSelectionMode(WDDateSelectionMode)public void setSelectionMode(WDDateSelectionMode value)
selectionMode to the new value.value - the new value of the selectionMode propertygetSelectionMode()public void bindStartsWith(java.lang.String path)
startsWith to the context attribute
specified by path.path - the path of the context attribute to which the startsWith
property is boundpublic void bindStartsWith(IWDAttributeInfo attributeInfo)
startsWith to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
startsWith property is boundpublic java.lang.String bindingOfStartsWith()
startsWith.public java.sql.Date getStartsWith()
startsWith property.
The initial value is new java.sql.Date(System.currentTimeMillis()).
setStartsWith(java.sql.Date)public void setStartsWith(java.sql.Date value)
startsWith to the new value.value - the new value of the startsWith propertygetStartsWith()public IWDDateNavigatorLegend getLegend()
setLegend(IWDDateNavigatorLegend)public void setLegend(IWDDateNavigatorLegend legend)
legend - the new legendgetLegend()public void destroyLegend()
public IWDDateNavigatorMarking getMarking()
setMarking(IWDDateNavigatorMarking)public void setMarking(IWDDateNavigatorMarking marking)
marking - the new markinggetMarking()public void destroyMarking()
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||