|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.component.UIComponent javax.faces.component.UIComponentBase javax.faces.component.UIOutput com.sun.rave.web.ui.component.CalendarMonthBase com.sun.rave.web.ui.component.CalendarMonth
This class needs to be rewritten. Do not release as API.
Field Summary | |
protected java.util.Calendar |
calendar
The java.util.Calendar object to use for this CalendarMonth component. |
static java.lang.String |
DATE_FIELD_ID
|
static java.lang.String |
DATE_FORMAT_ATTR
|
static java.lang.String |
DATE_FORMAT_PATTERN_ATTR
|
static java.lang.String |
DATE_LINK_ID
|
static java.lang.String |
MONTH_MENU_ID
|
static java.lang.String |
NEXT_MONTH_LINK_ID
|
static java.lang.String |
PREVIOUS_MONTH_LINK_ID
|
static java.lang.String |
YEAR_MENU_ID
|
Fields inherited from class javax.faces.component.UIOutput |
COMPONENT_FAMILY, COMPONENT_TYPE |
Fields inherited from interface javax.faces.component.NamingContainer |
SEPARATOR_CHAR |
Constructor Summary | |
CalendarMonth()
|
Method Summary | |
boolean |
compareDate(java.util.Calendar selected,
java.util.Calendar current)
|
void |
displayValue()
|
java.util.Calendar |
getCalendar()
Returns a new Calendar instance. |
java.lang.Integer |
getCurrentMonth()
|
java.lang.Integer |
getCurrentYear()
|
java.text.DateFormat |
getDateFormat()
Return the DateFormat object for this CalendarMonth. |
java.lang.String |
getDateFormatPattern()
|
java.lang.String |
getJavaScriptObjectName()
Getter for property javaScriptObject. |
protected java.util.Locale |
getLocale()
Convenience function to return the locale of the current context. |
DropDown |
getMonthMenu()
Get the DropDown menu instance to use for this CalendarMonths's year menu. |
IconHyperlink |
getNextMonthLink()
Get the IconHyperlink instance to use for the next year link. |
IconHyperlink |
getPreviousMonthLink()
Get the IconHyperlink instance to use for the previous year link. |
protected com.sun.rave.web.ui.theme.Theme |
getTheme()
Convience function to get the current Theme. |
java.util.TimeZone |
getTimeZone()
Return the TimeZone object for this CalendarMonth. |
DropDown |
getYearMenu()
Get the JumpDropDown menu instance to use for thie CalendarMonth's year menu. |
void |
initCalendarControls(java.lang.String jsName)
|
boolean |
isDateSelected(java.util.Calendar current,
java.util.Calendar endDate)
|
void |
setJavaScriptObjectName(java.lang.String javaScriptObjectName)
Setter for property javaScriptObject. |
void |
showNextMonth()
|
void |
showPreviousMonth()
|
Methods inherited from class com.sun.rave.web.ui.component.CalendarMonthBase |
getFamily, isPopup, restoreState, saveState, setPopup |
Methods inherited from class javax.faces.component.UIOutput |
getConverter, getLocalValue, getValue, setConverter, setValue |
Methods inherited from class javax.faces.component.UIComponentBase |
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String MONTH_MENU_ID
public static final java.lang.String YEAR_MENU_ID
public static final java.lang.String PREVIOUS_MONTH_LINK_ID
public static final java.lang.String NEXT_MONTH_LINK_ID
public static final java.lang.String DATE_LINK_ID
public static final java.lang.String DATE_FIELD_ID
public static final java.lang.String DATE_FORMAT_ATTR
public static final java.lang.String DATE_FORMAT_PATTERN_ATTR
protected java.util.Calendar calendar
The java.util.Calendar object to use for this CalendarMonth component.
Constructor Detail |
public CalendarMonth()
Method Detail |
public boolean isDateSelected(java.util.Calendar current, java.util.Calendar endDate)
public boolean compareDate(java.util.Calendar selected, java.util.Calendar current)
protected java.util.Locale getLocale()
Convenience function to return the locale of the current context.
public java.util.Calendar getCalendar()
Returns a new Calendar instance.
public java.text.DateFormat getDateFormat()
Return the DateFormat object for this CalendarMonth.
public java.util.TimeZone getTimeZone()
Return the TimeZone object for this CalendarMonth.
public DropDown getMonthMenu()
Get the DropDown menu instance to use for this CalendarMonths's year menu.
public DropDown getYearMenu()
Get the JumpDropDown menu instance to use for thie CalendarMonth's year menu.
public IconHyperlink getPreviousMonthLink()
Get the IconHyperlink instance to use for the previous year link.
public IconHyperlink getNextMonthLink()
Get the IconHyperlink instance to use for the next year link.
protected com.sun.rave.web.ui.theme.Theme getTheme()
Convience function to get the current Theme.
public void initCalendarControls(java.lang.String jsName)
public void showNextMonth()
public void showPreviousMonth()
public java.lang.Integer getCurrentMonth()
public java.lang.Integer getCurrentYear()
public java.lang.String getJavaScriptObjectName()
public void setJavaScriptObjectName(java.lang.String javaScriptObjectName)
public java.lang.String getDateFormatPattern()
public void displayValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |