Class Index | File Index

Classes


Class YAHOO.widget.Calendar2up

Calendar2up is the default implementation of the CalendarGroup base class, when used in a 2-up view. This class is the UED-approved version of the 2-up calendar selector widget. For all documentation on the implemented methods listed here, see the documentation for CalendarGroup.
Defined in: calendar.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
YAHOO.widget.Calendar2up(id, containerId, monthyear, selected)
Field Summary
Field Attributes Field Name and Description
<static>  
YAHOO.widget.Calendar2up.CSS_2UPCLOSE
CSS class representing the close icon for the 2-up calendar
<static>  
YAHOO.widget.Calendar2up.CSS_2UPCONTAINER
CSS class representing the container for the 2-up calendar
<static>  
YAHOO.widget.Calendar2up.CSS_2UPTITLE
CSS class representing the title for the 2-up calendar
<static>  
YAHOO.widget.Calendar2up.CSS_2UPWRAPPER
CSS class representing the wrapper for the 2-up calendar
<static>  
YAHOO.widget.Calendar2up.CSS_CONTAINER
CSS class representing the container for the calendar
Method Summary
Method Attributes Method Name and Description
 
buildWrapper(containerId)
Builds the wrapper container for the 2-up calendar.
 
constructChild(id, containerId, monthyear, selected)
Implementation of CalendarGroup.constructChild that ensures that child calendars of Calendar2up will be of type Calendar2up_Cal.
 
hide(e, cal)
Hides the 2-up calendar's outer container from view.
 
Renders the 2-up calendar.
 
Renders a footer for the 2-up calendar container.
 
Renders the header located at the top of the container for the 2-up calendar.
Class Detail
YAHOO.widget.Calendar2up(id, containerId, monthyear, selected)
Parameters:
{String} id
The id of the table element that will represent the calendar widget
{String} containerId
The id of the container element that will contain the calendar table
{String} monthyear
The month/year string used to set the current calendar page
{String} 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"
Field Detail
<static> {string} YAHOO.widget.Calendar2up.CSS_2UPCLOSE
CSS class representing the close icon for the 2-up calendar

<static> {string} YAHOO.widget.Calendar2up.CSS_2UPCONTAINER
CSS class representing the container for the 2-up calendar

<static> {string} YAHOO.widget.Calendar2up.CSS_2UPTITLE
CSS class representing the title for the 2-up calendar

<static> {string} YAHOO.widget.Calendar2up.CSS_2UPWRAPPER
CSS class representing the wrapper for the 2-up calendar

<static> {string} YAHOO.widget.Calendar2up.CSS_CONTAINER
CSS class representing the container for the calendar
Method Detail
buildWrapper(containerId)
Builds the wrapper container for the 2-up calendar.
Parameters:
{String} containerId
The id of the outer container element.

constructChild(id, containerId, monthyear, selected)
Implementation of CalendarGroup.constructChild that ensures that child calendars of Calendar2up will be of type Calendar2up_Cal.
Parameters:
id
containerId
monthyear
selected

hide(e, cal)
Hides the 2-up calendar's outer container from view.
Parameters:
e
cal

render()
Renders the 2-up calendar.

renderFooter()
Renders a footer for the 2-up calendar container. By default, this method is unimplemented.

renderHeader()
Renders the header located at the top of the container for the 2-up calendar.

Documentation generated by JsDoc Toolkit 2.0.0 on Thu Dec 02 2010 15:18:59 GMT+0100 (CET)