Config, parent, cells, weekHeaderCells, weekFooterCells, cellDates, id, oDomContainer, today, renderStack, pageDate, minDate, maxDate, selectedDates, shellRendered, table, headerCell
Class YAHOO.widget.Calendar
Object | +--YAHOO.widget.Calendar_Core | +--YAHOO.widget.Calendar
class
YAHOO.widget.Calendar
Fields inherited from class YAHOO.widget.Calendar_Core [top]
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.
|
Methods inherited from class YAHOO.widget.Calendar_Core
init, wireDefaultEvents, wireCustomEvents, setupConfig, customConfig, buildMonthLabel, buildDayLabel, buildShellHeader, buildShellBody, buildShellFooter, render, renderBody, renderFooter, renderOutOfBoundsDate, renderRowHeader, renderRowFooter, renderCellDefault, renderCellStyleHighlight1, renderCellStyleHighlight2, renderCellStyleHighlight3, renderCellStyleHighlight4, renderCellStyleToday, renderCellStyleSelected, renderCellNotThisMonth, renderBodyCellRestricted, addMonths, subtractMonths, addYears, subtractYears, nextMonth, previousMonth, nextYear, previousYear, reset, clear, select, selectCell, deselect, deselectCell, deselectAll, isDateOOM, onBeforeSelect, onSelect, onBeforeDeselect, onDeselect, onChangePage, onRender, onReset, onClear, validate, resetRenderers, clearElement, addRenderer, addMonthRenderer, addWeekdayRenderer, clearAllBodyCellStyles, setMonth, setYear, getSelectedDates, toString
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"
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)