|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.htmlb.DateNavigatorModel
Provide model for the DateNavigator. This is mainly of interest for JSPs that want to pass an object that contains all data the DateNavigator tag needs. This prevents from specifying complex data such as DayRanges with JSP tags.
| Constructor Summary | |
DateNavigatorModel()
Create DateNavigatorModel. |
|
DateNavigatorModel(IPageContext pc)
Create DateNavigatorModel. |
|
| Method Summary | |
Calendar |
getCalendar()
Get Calendar instance used by DateNavigatorModel. |
Integer |
getCenteredMonth()
Get centered month. |
Integer |
getCenteredYear()
Get centered year. |
Locale |
getLocale()
Get locale. |
DayRanges |
getSelectedDays()
Get the DayRanges instance. |
Date |
getToday()
Get the day that should be rendered as the current date. |
boolean |
isLocaleUnknown()
Indicate if the locale has not been explicitely set and should switch to browsers default locale during rendering. |
void |
setCenteredMonth(int centeredMonth)
Set Month that should be centered on rendering. |
void |
setCenteredYear(int centeredYear)
Set year of month that should be centered on rendering. |
void |
setLocale(Locale l)
Set fixed locale to use for Date calculations and rendering. |
protected void |
setLocaleUnknown(boolean localeUnknown)
specify whether locale has not been explicitely set and should switch to browsers default locale during rendering. |
void |
setSelectedDays(DayRanges selectedDays)
Set the DayRanges instance. |
void |
setToday(Date today)
Set the day that should be rendered as the current date. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DateNavigatorModel(IPageContext pc)
pc - IPageContext used to look up localepublic DateNavigatorModel()
| Method Detail |
public void setLocale(Locale l)
public Integer getCenteredMonth()
public void setCenteredMonth(int centeredMonth)
centeredMonth - int defining the month to be centered (see java.util.Calendar)public Integer getCenteredYear()
public void setCenteredYear(int centeredYear)
centeredYear - int specifying the year of the centered monthpublic Date getToday()
public void setToday(Date today)
today - Date specifying the current datepublic DayRanges getSelectedDays()
public void setSelectedDays(DayRanges selectedDays)
selectedDays - DayRanges instancepublic Calendar getCalendar()
public Locale getLocale()
public boolean isLocaleUnknown()
protected void setLocaleUnknown(boolean localeUnknown)
localeUnknown - indicating if locale should be switched
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||