Class YAHOO.widget.Calendar

Object
   |
   +--YAHOO.widget.Calendar_Core
         |
         +--YAHOO.widget.Calendar

class YAHOO.widget.Calendar

Method Summary [top]

void buildShell ()
Builds the calendar table shell that will be filled in with dates and formatting. 
void renderHeader ()
Appends the header contents into the widget header. 
void renderShell ()
Outputs the calendar shell to the DOM, inserting it into the placeholder element. 

Constructor Detail [top]

YAHOO.widget.Calendar

YAHOO.widget.Calendar ()
Parameters:
id - The id of the table element that will represent the calendar widget
containerId - The id of the container element that will contain the calendar table
monthyear - The month/year string used to set the current calendar page
selected - A string of date values formatted using the date parser. The built-in default date format is MM/DD/YYYY. Ranges are defined using MM/DD/YYYY-MM/DD/YYYY. Month/day combinations are defined using MM/DD. Any combination of these can be combined by delimiting the string with commas. Example: "12/24/2005,12/25,1/18/2006-1/21/2006"
HASH(0x1d1d14c)

Method Detail [top]

buildShell

void buildShell ()
Builds the calendar table shell that will be filled in with dates and formatting. This method calls buildShellHeader, buildShellBody, and buildShellFooter (in that order) to construct the pieces of the calendar table. The construction of the shell should only happen one time when the calendar is initialized. HASH(0x1c9176c)

renderHeader

void renderHeader ()
Appends the header contents into the widget header. HASH(0x1d0dbe8)

renderShell

void renderShell ()
Outputs the calendar shell to the DOM, inserting it into the placeholder element. HASH(0x1d0dec4)