Java Doc for HtmlCalendar.java in » J2EE » Sofia » com » salmonllc » html » Java Source Code / Java DocumentationJava Source Code and Java Documentation
getWidth() This method gets the width of the calendar.
public boolean
processParms(Hashtable parms, int rowNo) This method should be implemented in any subclasses of this component
interested in processing parameters from an html post operation.
public void
removeCalendarListener(CalendarListener l) This method removes a listener from the list that will be notified if
this component causes the page to be submitted.
public void
setBorder(int border) This method sets the border width of the calendar.
public void
setCalendarMonth(int month) This method sets the current month displayed in the calendar.
public void
setCalendarYear(int year) This method sets the current year displayed in the calendar.
Constructs a new HtmlCalendar
Parameters: name - The name of the calendar in the page Parameters: theme - The theme to use for loading properties. Parameters: p - The page the calendar will be in
This method adds a listener the will be notified when this component
causes the page its in to be submitted.
addDayHighlight
public void addDayHighlight(int year, int month, int day)(Code)
This method adds a new day to highlight in the calendar. That day will be
displayed in the highlight font. Note: Month is 0 based, 0 = Jan, 1=Feb
etc..
This method should be implemented in any subclasses of this component
interested in processing parameters from an html post operation. The
component should interogate the HttpServletRequest for any parameters it
is interested in and change its internal state to reflect the parms.
true if this component is the one that submitted the page andfalse if not. Parameters: parms - a HashTable containing all the parameters for the servlet.
This method removes a listener from the list that will be notified if
this component causes the page to be submitted.
Parameters: l - The listener to remove.
Updates the month and day names for the current language The language
property file must have the following key structure
HtmlCalendar.month.short.0 to HtmlCalendar.month.short.11 represents the
month short names from jan to dec HtmlCalendar.month.long.0 to
HtmlCalendar.month.long.11 represents the month long names from January
to December HtmlCalendar.day.short.0 to HtmlCalendar.day.short.6
represents the day short names from Sun to Sat HtmlCalendar.day.long.0 to
HtmlCalendar.day.long.6 represents the day long names from Sunday to
Saturday
Fields inherited from com.salmonllc.html.HtmlComponent