3917 lines
192 KiB
HTML
3917 lines
192 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
<html>
|
|
<head>
|
|
<title>API: calendar YAHOO.widget.CalendarGroup (YUI Library)</title>
|
|
<link rel="stylesheet" type="text/css" href="assets/api.css">
|
|
<script type="text/javascript" src="assets/api-js"></script>
|
|
<script type="text/javascript" src="assets/ac-js"></script>
|
|
</head>
|
|
|
|
<body id="yahoo-com">
|
|
|
|
<div id="doc3" class="yui-t2">
|
|
|
|
<div id="hd">
|
|
<a href="http://developer.yahoo.com/yui/"><h1>Yahoo! UI Library</h1></a>
|
|
<h3>Calendar <span class="subtitle">2.5.0</span></h3>
|
|
<p>
|
|
<a href="./index.html">Yahoo! UI Library</a>
|
|
> <a href="./module_calendar.html">calendar</a>
|
|
> YAHOO.widget.CalendarGroup
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-b">
|
|
<form name="yui-classopts-form">
|
|
<span id="classopts"><input type="checkbox" name="showprivate" id="showprivate" /> Show Private</span>
|
|
<span id="classopts"><input type="checkbox" name="showprotected" id="showprotected" /> Show Protected</span>
|
|
</form>
|
|
|
|
<h2>
|
|
|
|
|
|
|
|
|
|
Class <b>YAHOO.widget.CalendarGroup</b>
|
|
<span class="extends">
|
|
</span>
|
|
|
|
<span class="extends">
|
|
</span>
|
|
|
|
</code>
|
|
</h2>
|
|
<!-- class tree goes here -->
|
|
|
|
<dl class="subclasses">
|
|
<dt>Known Subclasses:</dd>
|
|
<dd>
|
|
<a href="YAHOO.widget.Calendar2up.html">YAHOO.widget.Calendar2up</a>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<div class="summary description">
|
|
YAHOO.widget.CalendarGroup is a special container class for YAHOO.widget.Calendar. This class facilitates
|
|
the ability to have multi-page calendar views that share a single dataset and are
|
|
dependent on each other.
|
|
The calendar group instance will refer to each of its elements using a 0-based index.
|
|
For example, to construct the placeholder for a calendar group widget with id "cal1" and
|
|
containerId of "cal1Container", the markup would be as follows:
|
|
<xmp>
|
|
<div id="cal1Container_0"></div>
|
|
<div id="cal1Container_1"></div>
|
|
</xmp>
|
|
The tables for the calendars ("cal1_0" and "cal1_1") will be inserted into those containers.
|
|
<p>
|
|
<strong>NOTE: As of 2.4.0, the constructor's ID argument is optional.</strong>
|
|
The CalendarGroup can be constructed by simply providing a container ID string,
|
|
or a reference to a container DIV HTMLElement (the element needs to exist
|
|
in the document).
|
|
E.g.:
|
|
<xmp>
|
|
var c = new YAHOO.widget.CalendarGroup("calContainer", configOptions);
|
|
</xmp>
|
|
or:
|
|
<xmp>
|
|
var containerDiv = YAHOO.util.Dom.get("calContainer");
|
|
var c = new YAHOO.widget.CalendarGroup(containerDiv, configOptions);
|
|
</xmp>
|
|
</p>
|
|
<p>
|
|
If not provided, the ID will be generated from the container DIV ID by adding an "_t" suffix.
|
|
For example if an ID is not provided, and the container's ID is "calContainer", the CalendarGroup's ID will be set to "calContainer_t".
|
|
</p>
|
|
</div>
|
|
|
|
<div class="section constructor details">
|
|
<h3 id="constructor">Constructor</h3>
|
|
<div class="content">
|
|
<div class="detail">
|
|
<strong>YAHOO.widget.CalendarGroup</strong>
|
|
<code>
|
|
(
|
|
|
|
|
|
|
|
id
|
|
|
|
,
|
|
container
|
|
|
|
,
|
|
config
|
|
)
|
|
</code>
|
|
<div class="description">
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>id
|
|
<String>
|
|
</code>
|
|
optional The id of the table element that will represent the CalendarGroup widget. As of 2.4.0, this argument is optional.
|
|
</dd>
|
|
<dd>
|
|
<code>container
|
|
<String | HTMLElement>
|
|
</code>
|
|
The id of the container div element that will wrap the CalendarGroup table, or a reference to a DIV element which exists in the document.
|
|
</dd>
|
|
<dd>
|
|
<code>config
|
|
<Object>
|
|
</code>
|
|
optional The configuration object containing the initial configuration values for the CalendarGroup.
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="section field details">
|
|
<h3 id="properties">Properties</h3>
|
|
<div class="content">
|
|
<div class="">
|
|
<h4><a name="cfg">cfg</a>
|
|
<code>- YAHOO.util.Config</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The Config object used to hold the configuration variables for the CalendarGroup
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="containerId">containerId</a>
|
|
<code>- String</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The unique id associated with the CalendarGroup container
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="id">id</a>
|
|
<code>- String</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The unique id associated with the CalendarGroup
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="Locale">Locale</a>
|
|
<code>- Object</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The local object which contains the CalendarGroup's locale settings
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="Options">Options</a>
|
|
<code>- Object</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The local object which contains the CalendarGroup's options
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="pages">pages</a>
|
|
<code>- YAHOO.widget.Calendar[]</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The collection of Calendar pages contained within the CalendarGroup
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4><a name="YAHOO.widget.CalendarGroup._DEFAULT_CONFIG">YAHOO.widget.CalendarGroup._DEFAULT_CONFIG</a>
|
|
<code>- private static final Object</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The set of default Config property keys and values for the CalendarGroup
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="YAHOO.widget.CalendarGroup.CSS_2UPCLOSE">YAHOO.widget.CalendarGroup.CSS_2UPCLOSE</a>
|
|
<code>- static final String</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
CSS class representing the close icon for the 2-up calendar
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="deprecated">
|
|
<strong>Deprecated:</strong> Along with Calendar.IMG_ROOT and NAV_ARROW_LEFT, NAV_ARROW_RIGHT configuration properties.
|
|
Calendar's <a href="YAHOO.widget.Calendar.html#Style.CSS_CLOSE">Style.CSS_CLOSE</a> property now represents the CSS class used to render the close icon
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="YAHOO.widget.CalendarGroup.CSS_2UPTITLE">YAHOO.widget.CalendarGroup.CSS_2UPTITLE</a>
|
|
<code>- static final String</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
CSS class representing the title for the 2-up calendar
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="YAHOO.widget.CalendarGroup.CSS_CONTAINER">YAHOO.widget.CalendarGroup.CSS_CONTAINER</a>
|
|
<code>- static final String</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
CSS class representing the container for the calendar
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="YAHOO.widget.CalendarGroup.CSS_MULTI_UP">YAHOO.widget.CalendarGroup.CSS_MULTI_UP</a>
|
|
<code>- static final String</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
CSS class representing the container for the calendar
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="section method details">
|
|
<h3 id="methods">Methods</h3>
|
|
<div class="content">
|
|
<div class="private">
|
|
<h4>
|
|
<a name="_fixWidth">_fixWidth</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong>_fixWidth</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Fixes the width of the CalendarGroup container element, to account for miswrapped floats
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4>
|
|
<a name="_setMonthOnDate">_setMonthOnDate</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong>_setMonthOnDate</strong>
|
|
(
|
|
|
|
|
|
date
|
|
|
|
|
|
,
|
|
iMonth
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Sets the month on a Date object, taking into account year rollover if the month is less than 0 or greater than 11.
|
|
The Date object passed in is modified. It should be cloned before passing it into this method if the original value needs to be maintained
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>date <Date></code>
|
|
The Date object on which to set the month index
|
|
</dd>
|
|
<dd>
|
|
<code>iMonth <Number></code>
|
|
The month index to set
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="addMonthRenderer">addMonthRenderer</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>addMonthRenderer</strong>
|
|
(
|
|
|
|
|
|
month
|
|
|
|
|
|
,
|
|
fnRender
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Adds a month to the render stack. The function reference passed to this method will be executed
|
|
when a date cell matches the month passed to this method.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>month <Number></code>
|
|
The month (1-12) to associate with this renderer
|
|
</dd>
|
|
<dd>
|
|
<code>fnRender <Function></code>
|
|
The function executed to render cells that match the render rules for this renderer.
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="addMonths">addMonths</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>addMonths</strong>
|
|
(
|
|
|
|
|
|
count
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Adds the designated number of months to the current calendar month, and sets the current
|
|
calendar page date to the new month.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>count <Number></code>
|
|
The number of months to add to the current calendar
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="addRenderer">addRenderer</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>addRenderer</strong>
|
|
(
|
|
|
|
|
|
sDates
|
|
|
|
|
|
,
|
|
fnRender
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Adds a renderer to the render stack. The function reference passed to this method will be executed
|
|
when a date cell matches the conditions specified in the date string for this renderer.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>sDates <String></code>
|
|
A date string to associate with the specified renderer. Valid formats
|
|
include date (12/24/2005), month/day (12/24), and range (12/1/2004-1/1/2005)
|
|
</dd>
|
|
<dd>
|
|
<code>fnRender <Function></code>
|
|
The function executed to render cells that match the render rules for this renderer.
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="addWeekdayRenderer">addWeekdayRenderer</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>addWeekdayRenderer</strong>
|
|
(
|
|
|
|
|
|
weekday
|
|
|
|
|
|
,
|
|
fnRender
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Adds a weekday to the render stack. The function reference passed to this method will be executed
|
|
when a date cell matches the weekday passed to this method.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>weekday <Number></code>
|
|
The weekday (1-7) to associate with this renderer. 1=Sunday, 2=Monday etc.
|
|
</dd>
|
|
<dd>
|
|
<code>fnRender <Function></code>
|
|
The function executed to render cells that match the render rules for this renderer.
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="addYears">addYears</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>addYears</strong>
|
|
(
|
|
|
|
|
|
count
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Adds the designated number of years to the current calendar, and sets the current
|
|
calendar page date to the new month.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>count <Number></code>
|
|
The number of years to add to the current calendar
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="callChildFunction">callChildFunction</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>callChildFunction</strong>
|
|
(
|
|
|
|
|
|
fnName
|
|
|
|
|
|
,
|
|
args
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Calls a function within all child Calendars within this CalendarGroup.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>fnName <String></code>
|
|
The name of the function
|
|
</dd>
|
|
<dd>
|
|
<code>args <Array></code>
|
|
The arguments to pass to the function
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="clear">clear</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>clear</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Clears the selected dates in the current calendar widget and sets the calendar
|
|
to the current month and year.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="configPageDate">configPageDate</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>configPageDate</strong>
|
|
(
|
|
|
|
|
|
type
|
|
|
|
|
|
,
|
|
args
|
|
|
|
|
|
,
|
|
obj
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
The default Config handler for the "pagedate" property
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>type <String></code>
|
|
The CustomEvent type (usually the property name)
|
|
</dd>
|
|
<dd>
|
|
<code>args <Object[]></code>
|
|
The CustomEvent arguments. For configuration handlers, args[0] will equal the newly applied value for the property.
|
|
</dd>
|
|
<dd>
|
|
<code>obj <Object></code>
|
|
The scope object. For configuration handlers, this will usually equal the owner.
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="configPages">configPages</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>configPages</strong>
|
|
(
|
|
|
|
|
|
type
|
|
|
|
|
|
,
|
|
args
|
|
|
|
|
|
,
|
|
obj
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
The default Config handler for the "pages" property
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>type <String></code>
|
|
The CustomEvent type (usually the property name)
|
|
</dd>
|
|
<dd>
|
|
<code>args <Object[]></code>
|
|
The CustomEvent arguments. For configuration handlers, args[0] will equal the newly applied value for the property.
|
|
</dd>
|
|
<dd>
|
|
<code>obj <Object></code>
|
|
The scope object. For configuration handlers, this will usually equal the owner.
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="configSelected">configSelected</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>configSelected</strong>
|
|
(
|
|
|
|
|
|
type
|
|
|
|
|
|
,
|
|
args
|
|
|
|
|
|
,
|
|
obj
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
The default Config handler for the CalendarGroup "selected" property
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>type <String></code>
|
|
The CustomEvent type (usually the property name)
|
|
</dd>
|
|
<dd>
|
|
<code>args <Object[]></code>
|
|
The CustomEvent arguments. For configuration handlers, args[0] will equal the newly applied value for the property.
|
|
</dd>
|
|
<dd>
|
|
<code>obj <Object></code>
|
|
The scope object. For configuration handlers, this will usually equal the owner.
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="constructChild">constructChild</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
YAHOO.widget.Calendar
|
|
<strong>constructChild</strong>
|
|
(
|
|
|
|
|
|
id
|
|
|
|
|
|
,
|
|
containerId
|
|
|
|
|
|
,
|
|
config
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Constructs a child calendar. This method can be overridden if a subclassed version of the default
|
|
calendar is to be used.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>id <String></code>
|
|
The id of the table element that will represent the calendar widget
|
|
</dd>
|
|
<dd>
|
|
<code>containerId <String></code>
|
|
The id of the container div element that will wrap the calendar table
|
|
</dd>
|
|
<dd>
|
|
<code>config <Object></code>
|
|
The configuration object containing the Calendar's arguments
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
YAHOO.widget.Calendar
|
|
</code></dt>
|
|
<dd>The YAHOO.widget.Calendar instance that is constructed</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="delegateConfig">delegateConfig</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>delegateConfig</strong>
|
|
(
|
|
|
|
|
|
type
|
|
|
|
|
|
,
|
|
args
|
|
|
|
|
|
,
|
|
obj
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Delegates a configuration property to the CustomEvents associated with the CalendarGroup's children
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>type <String></code>
|
|
The CustomEvent type (usually the property name)
|
|
</dd>
|
|
<dd>
|
|
<code>args <Object[]></code>
|
|
The CustomEvent arguments. For configuration handlers, args[0] will equal the newly applied value for the property.
|
|
</dd>
|
|
<dd>
|
|
<code>obj <Object></code>
|
|
The scope object. For configuration handlers, this will usually equal the owner.
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="deselect">deselect</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
Date[]
|
|
<strong>deselect</strong>
|
|
(
|
|
|
|
|
|
date
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Deselects a date or a collection of dates on the current calendar. This method, by default,
|
|
does not call the render method explicitly. Once deselection has completed, render must be
|
|
called for the changes to be reflected visually.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>date <String/Date/Date[]></code>
|
|
The date string of dates to deselect in the current calendar. Valid formats are
|
|
individual date(s) (12/24/2005,12/26/2005) or date range(s) (12/24/2005-1/1/2006).
|
|
Multiple comma-delimited dates can also be passed to this method (12/24/2005,12/11/2005-12/13/2005).
|
|
This method can also take a JavaScript Date object or an array of Date objects.
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
Date[]
|
|
</code></dt>
|
|
<dd>Array of JavaScript Date objects representing all individual dates that are currently selected.</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="deselectAll">deselectAll</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
Date[]
|
|
<strong>deselectAll</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Deselects all dates on the current calendar.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
Date[]
|
|
</code></dt>
|
|
<dd>Array of JavaScript Date objects representing all individual dates that are currently selected.
|
|
Assuming that this function executes properly, the return value should be an empty array.
|
|
However, the empty array is returned for the sake of being able to check the selection status
|
|
of the calendar.</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="deselectCell">deselectCell</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
Date[]
|
|
<strong>deselectCell</strong>
|
|
(
|
|
|
|
|
|
cellIndex
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Deselects dates in the CalendarGroup based on the cell index provided. This method is used to select cells without having to do a full render. The selected style is applied to the cells directly.
|
|
deselectCell will deselect the cell at the specified index on each displayed Calendar page.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>cellIndex <Number></code>
|
|
The index of the cell to deselect.
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
Date[]
|
|
</code></dt>
|
|
<dd>Array of JavaScript Date objects representing all individual dates that are currently selected.</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="getCalendarPage">getCalendarPage</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
Calendar
|
|
<strong>getCalendarPage</strong>
|
|
(
|
|
|
|
|
|
date
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Returns the Calendar page instance which has a pagedate (month/year) matching the given date.
|
|
Returns null if no match is found.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>date <Date></code>
|
|
The JavaScript Date object for which a Calendar page is to be found.
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
Calendar
|
|
</code></dt>
|
|
<dd>The Calendar page instance representing the month to which the date
|
|
belongs.</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="getSelectedDates">getSelectedDates</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>getSelectedDates</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Gets the list of currently selected dates from the calendar.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd>An array of currently selected JavaScript Date objects.</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="init">init</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>init</strong>
|
|
(
|
|
|
|
|
|
id
|
|
|
|
|
|
,
|
|
container
|
|
|
|
|
|
,
|
|
config
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Initializes the calendar group. All subclasses must call this method in order for the
|
|
group to be initialized properly.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>id <String></code>
|
|
optional The id of the table element that will represent the CalendarGroup widget. As of 2.4.0, this argument is optional.
|
|
</dd>
|
|
<dd>
|
|
<code>container <String | HTMLElement></code>
|
|
The id of the container div element that will wrap the CalendarGroup table, or a reference to a DIV element which exists in the document.
|
|
</dd>
|
|
<dd>
|
|
<code>config <Object></code>
|
|
optional The configuration object containing the initial configuration values for the CalendarGroup.
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="initEvents">initEvents</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>initEvents</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Initializes CalendarGroup's built-in CustomEvents
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="nextMonth">nextMonth</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>nextMonth</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Navigates to the next month page in the calendar widget.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="nextYear">nextYear</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>nextYear</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Navigates to the next year in the currently selected month in the calendar widget.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="previousMonth">previousMonth</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>previousMonth</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Navigates to the previous month page in the calendar widget.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="previousYear">previousYear</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>previousYear</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Navigates to the previous year in the currently selected month in the calendar widget.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="removeRenderers">removeRenderers</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>removeRenderers</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Removes all custom renderers added to the CalendarGroup through the addRenderer, addMonthRenderer and
|
|
addWeekRenderer methods. CalendarGroup's render method needs to be called to after removing renderers
|
|
to see the changes applied.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="render">render</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>render</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Calls the render function of all child calendars within the group.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="renderFooter">renderFooter</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>renderFooter</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Renders a footer for the 2-up calendar container. By default, this method is
|
|
unimplemented.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="renderHeader">renderHeader</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>renderHeader</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Renders the header for the CalendarGroup.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="reset">reset</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>reset</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Resets the calendar widget to the originally selected month and year, and
|
|
sets the calendar to the initial selection(s).
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="select">select</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
Date[]
|
|
<strong>select</strong>
|
|
(
|
|
|
|
|
|
date
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Selects a date or a collection of dates on the current calendar. This method, by default,
|
|
does not call the render method explicitly. Once selection has completed, render must be
|
|
called for the changes to be reflected visually.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>date <String/Date/Date[]></code>
|
|
The date string of dates to select in the current calendar. Valid formats are
|
|
individual date(s) (12/24/2005,12/26/2005) or date range(s) (12/24/2005-1/1/2006).
|
|
Multiple comma-delimited dates can also be passed to this method (12/24/2005,12/11/2005-12/13/2005).
|
|
This method can also take a JavaScript Date object or an array of Date objects.
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
Date[]
|
|
</code></dt>
|
|
<dd>Array of JavaScript Date objects representing all individual dates that are currently selected.</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="selectCell">selectCell</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
Date[]
|
|
<strong>selectCell</strong>
|
|
(
|
|
|
|
|
|
cellIndex
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Selects dates in the CalendarGroup based on the cell index provided. This method is used to select cells without having to do a full render. The selected style is applied to the cells directly.
|
|
The value of the MULTI_SELECT Configuration attribute will determine the set of dates which get selected.
|
|
<ul>
|
|
<li>If MULTI_SELECT is false, selectCell will select the cell at the specified index for only the last displayed Calendar page.</li>
|
|
<li>If MULTI_SELECT is true, selectCell will select the cell at the specified index, on each displayed Calendar page.</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>cellIndex <Number></code>
|
|
The index of the cell to be selected.
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
Date[]
|
|
</code></dt>
|
|
<dd>Array of JavaScript Date objects representing all individual dates that are currently selected.</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="setChildFunction">setChildFunction</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>setChildFunction</strong>
|
|
(
|
|
|
|
|
|
fnName
|
|
|
|
|
|
,
|
|
fn
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Adds a function to all child Calendars within this CalendarGroup.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>fnName <String></code>
|
|
The name of the function
|
|
</dd>
|
|
<dd>
|
|
<code>fn <Function></code>
|
|
The function to apply to each Calendar page object
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="setMonth">setMonth</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>setMonth</strong>
|
|
(
|
|
|
|
|
|
month
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Sets the calendar group's month explicitly. This month will be set into the first
|
|
page of the multi-page calendar, and all other months will be iterated appropriately.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>month <Number></code>
|
|
The numeric month, from 0 (January) to 11 (December)
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="setYear">setYear</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>setYear</strong>
|
|
(
|
|
|
|
|
|
year
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Sets the calendar group's year explicitly. This year will be set into the first
|
|
page of the multi-page calendar, and all other months will be iterated appropriately.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>year <Number></code>
|
|
The numeric 4-digit year
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4>
|
|
<a name="sub">sub</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong>sub</strong>
|
|
(
|
|
|
|
|
|
fn
|
|
|
|
|
|
,
|
|
obj
|
|
|
|
|
|
,
|
|
bOverride
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Proxy subscriber to subscribe to the CalendarGroup's child Calendars' CustomEvents
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>fn <Function></code>
|
|
The function to subscribe to this CustomEvent
|
|
</dd>
|
|
<dd>
|
|
<code>obj <Object></code>
|
|
The CustomEvent's scope object
|
|
</dd>
|
|
<dd>
|
|
<code>bOverride <Boolean></code>
|
|
Whether or not to apply scope correction
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="subtractMonths">subtractMonths</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>subtractMonths</strong>
|
|
(
|
|
|
|
|
|
count
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Subtracts the designated number of months from the current calendar month, and sets the current
|
|
calendar page date to the new month.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>count <Number></code>
|
|
The number of months to subtract from the current calendar
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="subtractYears">subtractYears</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong>subtractYears</strong>
|
|
(
|
|
|
|
|
|
count
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Subtcats the designated number of years from the current calendar, and sets the current
|
|
calendar page date to the new month.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>count <Number></code>
|
|
The number of years to subtract from the current calendar
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="toString">toString</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
String
|
|
<strong>toString</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Returns a string representation of the object.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
String
|
|
</code></dt>
|
|
<dd>A string representation of the CalendarGroup object.</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4>
|
|
<a name="unsub">unsub</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong>unsub</strong>
|
|
(
|
|
|
|
|
|
fn
|
|
|
|
|
|
,
|
|
obj
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Proxy unsubscriber to unsubscribe from the CalendarGroup's child Calendars' CustomEvents
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>fn <Function></code>
|
|
The function to subscribe to this CustomEvent
|
|
</dd>
|
|
<dd>
|
|
<code>obj <Object></code>
|
|
The CustomEvent's scope object
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="section method details">
|
|
<h3 id="events">Events</h3>
|
|
<div class="content">
|
|
<div class="">
|
|
<h4>
|
|
<a name="beforeDeselectEvent">beforeDeselectEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong>beforeDeselectEvent</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description">
|
|
Fired before a selection is made
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="beforeHideEvent">beforeHideEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong>beforeHideEvent</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description">
|
|
Fired just before the CalendarGroup is to be hidden
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="beforeHideNavEvent">beforeHideNavEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong>beforeHideNavEvent</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description">
|
|
Fired just before the CalendarNavigator is to be hidden
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="beforeRenderEvent">beforeRenderEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong>beforeRenderEvent</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description">
|
|
Fired before the Calendar is rendered
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="beforeRenderNavEvent">beforeRenderNavEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong>beforeRenderNavEvent</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description">
|
|
Fired just before the CalendarNavigator is to be rendered
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="beforeSelectEvent">beforeSelectEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong>beforeSelectEvent</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description">
|
|
Fired before a selection is made
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="beforeShowEvent">beforeShowEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong>beforeShowEvent</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description">
|
|
Fired just before the CalendarGroup is to be shown
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="beforeShowNavEvent">beforeShowNavEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong>beforeShowNavEvent</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description">
|
|
Fired just before the CalendarNavigator is to be shown
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="changePageEvent">changePageEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong>changePageEvent</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description">
|
|
Fired when the Calendar page is changed
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="clearEvent">clearEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong>clearEvent</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description">
|
|
Fired when the Calendar is cleared
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="deselectEvent">deselectEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong>deselectEvent</strong>
|
|
|
|
(
|
|
|
|
|
|
Array
|
|
|
|
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description">
|
|
Fired when a selection is made
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>Array <Array></code>
|
|
of Date field arrays in the format [YYYY, MM, DD].
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="hideEvent">hideEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong>hideEvent</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description">
|
|
Fired after the CalendarGroup is hidden
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="hideNavEvent">hideNavEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong>hideNavEvent</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description">
|
|
Fired after the CalendarNavigator is hidden
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="renderEvent">renderEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong>renderEvent</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description">
|
|
Fired when the Calendar is rendered
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="renderNavEvent">renderNavEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong>renderNavEvent</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description">
|
|
Fired after the CalendarNavigator is rendered
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="resetEvent">resetEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong>resetEvent</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description">
|
|
Fired when the Calendar is reset
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="selectEvent">selectEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong>selectEvent</strong>
|
|
|
|
(
|
|
|
|
|
|
Array
|
|
|
|
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description">
|
|
Fired when a selection is made
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>Array <Array></code>
|
|
of Date field arrays in the format [YYYY, MM, DD].
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="showEvent">showEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong>showEvent</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description">
|
|
Fired after the CalendarGroup is shown
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="showNavEvent">showNavEvent</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong>showNavEvent</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description">
|
|
Fired after the CalendarNavigator is shown
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="section field details">
|
|
<h3 id="configattributes">Configuration Attributes</h3>
|
|
<div class="content">
|
|
<div class="">
|
|
<h4><a name="close">close</a>
|
|
<code>- Boolean</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
Whether or not a close button should be displayed for this CalendarGroup
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: false
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="DATE_DELIMITER">DATE_DELIMITER</a>
|
|
<code>- String</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The value used to delimit individual dates in a date string passed to various Calendar functions.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: ","
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="DATE_FIELD_DELIMITER">DATE_FIELD_DELIMITER</a>
|
|
<code>- String</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The value used to delimit date fields in a date string passed to various Calendar functions.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: "/"
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="DATE_RANGE_DELIMITER">DATE_RANGE_DELIMITER</a>
|
|
<code>- String</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The value used to delimit date ranges in a date string passed to various Calendar functions.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: "-"
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="HIDE_BLANK_WEEKS">HIDE_BLANK_WEEKS</a>
|
|
<code>- Boolean</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
True if the Calendar should suppress weeks that are not a part of the current month. False by default.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: false
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="iframe">iframe</a>
|
|
<code>- Boolean</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
Whether or not an iframe shim should be placed under the Calendar to prevent select boxes from bleeding through in Internet Explorer 6 and below.
|
|
This property is enabled by default for IE6 and below. It is disabled by default for other browsers for performance reasons, but can be
|
|
enabled if required.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: true for IE6 and below, false for all other browsers
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="LOCALE_MONTHS">LOCALE_MONTHS</a>
|
|
<code>- String</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The setting that determines which length of month labels should be used. Possible values are "short" and "long".
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: "long"
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="LOCALE_WEEKDAYS">LOCALE_WEEKDAYS</a>
|
|
<code>- String</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The setting that determines which length of weekday labels should be used. Possible values are "1char", "short", "medium", and "long".
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: "short"
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="maxdate">maxdate</a>
|
|
<code>- String</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The maximum selectable date in the current Calendar (mm/dd/yyyy)
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: null
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="MD_DAY_POSITION">MD_DAY_POSITION</a>
|
|
<code>- Number</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The position of the day in a month/year date string
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: 2
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="MD_MONTH_POSITION">MD_MONTH_POSITION</a>
|
|
<code>- Number</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The position of the month in a month/day date string
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: 1
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="MDY_DAY_POSITION">MDY_DAY_POSITION</a>
|
|
<code>- Number</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The position of the day in a month/day/year date string
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: 2
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="MDY_MONTH_POSITION">MDY_MONTH_POSITION</a>
|
|
<code>- Number</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The position of the month in a month/day/year date string
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: 1
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="MDY_YEAR_POSITION">MDY_YEAR_POSITION</a>
|
|
<code>- Number</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The position of the year in a month/day/year date string
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: 3
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="mindate">mindate</a>
|
|
<code>- String</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The minimum selectable date in the current Calendar (mm/dd/yyyy)
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: null
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="MONTHS_LONG">MONTHS_LONG</a>
|
|
<code>- String[]</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The long month labels for the current locale.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="MONTHS_SHORT">MONTHS_SHORT</a>
|
|
<code>- String[]</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The short month labels for the current locale.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="MULTI_SELECT">MULTI_SELECT</a>
|
|
<code>- Boolean</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
True if the Calendar should allow multiple selections. False by default.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: false
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="MY_LABEL_MONTH_POSITION">MY_LABEL_MONTH_POSITION</a>
|
|
<code>- Number</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The position of the month in the month year label string used as the Calendar header
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: 1
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="MY_LABEL_MONTH_SUFFIX">MY_LABEL_MONTH_SUFFIX</a>
|
|
<code>- String</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The suffix used after the month when rendering the Calendar header
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: " "
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="MY_LABEL_YEAR_POSITION">MY_LABEL_YEAR_POSITION</a>
|
|
<code>- Number</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The position of the year in the month year label string used as the Calendar header
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: 2
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="MY_LABEL_YEAR_SUFFIX">MY_LABEL_YEAR_SUFFIX</a>
|
|
<code>- String</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The suffix used after the year when rendering the Calendar header
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: ""
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="MY_MONTH_POSITION">MY_MONTH_POSITION</a>
|
|
<code>- Number</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The position of the month in a month/year date string
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: 1
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="MY_YEAR_POSITION">MY_YEAR_POSITION</a>
|
|
<code>- Number</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The position of the year in a month/year date string
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: 2
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="NAV">NAV</a>
|
|
<code>- Object</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
Configuration for the Month Year Navigation UI. By default it is disabled
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: null
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="NAV_ARROW_LEFT">NAV_ARROW_LEFT</a>
|
|
<code>- String</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The image that should be used for the left navigation arrow.
|
|
</div>
|
|
</div>
|
|
|
|
<div class="deprecated">
|
|
<strong>Deprecated</strong> You can customize the image by overriding the default CSS class for the left arrow - "calnavleft"
|
|
</div>
|
|
|
|
<div class="default">
|
|
Default Value: null
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="NAV_ARROW_RIGHT">NAV_ARROW_RIGHT</a>
|
|
<code>- String</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The image that should be used for the right navigation arrow.
|
|
</div>
|
|
</div>
|
|
|
|
<div class="deprecated">
|
|
<strong>Deprecated</strong> You can customize the image by overriding the default CSS class for the right arrow - "calnavright"
|
|
</div>
|
|
|
|
<div class="default">
|
|
Default Value: null
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="pagedate">pagedate</a>
|
|
<code>- String</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The month/year representing the current visible Calendar date (mm/yyyy)
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: today's date
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="pages">pages</a>
|
|
<code>- Number</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The number of pages to include in the CalendarGroup. This value can only be set once, in the CalendarGroup's constructor arguments.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: 2
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="selected">selected</a>
|
|
<code>- String</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The date or range of dates representing the current Calendar selection
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: []
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="SHOW_WEEK_FOOTER">SHOW_WEEK_FOOTER</a>
|
|
<code>- Boolean</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
True if the Calendar should show week row footers. False by default.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: false
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="SHOW_WEEK_HEADER">SHOW_WEEK_HEADER</a>
|
|
<code>- Boolean</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
True if the Calendar should show week row headers. False by default.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: false
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="SHOW_WEEKDAYS">SHOW_WEEKDAYS</a>
|
|
<code>- Boolean</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
True if the Calendar should show weekday labels. True by default.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: true
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="START_WEEKDAY">START_WEEKDAY</a>
|
|
<code>- number</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The weekday the week begins on. Default is 0 (Sunday).
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: 0
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="title">title</a>
|
|
<code>- String</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The title to display above the CalendarGroup's month header
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: ""
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="WEEKDAYS_1CHAR">WEEKDAYS_1CHAR</a>
|
|
<code>- String[]</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The 1-character weekday labels for the current locale.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: ["S", "M", "T", "W", "T", "F", "S"]
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="WEEKDAYS_LONG">WEEKDAYS_LONG</a>
|
|
<code>- String[]</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The long weekday labels for the current locale.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="WEEKDAYS_MEDIUM">WEEKDAYS_MEDIUM</a>
|
|
<code>- String[]</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The medium weekday labels for the current locale.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4><a name="WEEKDAYS_SHORT">WEEKDAYS_SHORT</a>
|
|
<code>- String[]</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The short weekday labels for the current locale.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default">
|
|
Default Value: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"]
|
|
</div>
|
|
|
|
<hr />
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<div class="yui-b">
|
|
<div class="nav">
|
|
|
|
<div class="module">
|
|
<h4>Modules</h4>
|
|
<ul class="content">
|
|
|
|
<li class=""><a href="module_animation.html">animation</a></li>
|
|
|
|
<li class=""><a href="module_autocomplete.html">autocomplete</a></li>
|
|
|
|
<li class=""><a href="module_button.html">button</a></li>
|
|
|
|
<li class="selected"><a href="module_calendar.html">calendar</a></li>
|
|
|
|
<li class=""><a href="module_charts.html">charts</a></li>
|
|
|
|
<li class=""><a href="module_colorpicker.html">colorpicker</a></li>
|
|
|
|
<li class=""><a href="module_connection.html">connection</a></li>
|
|
|
|
<li class=""><a href="module_container.html">container</a></li>
|
|
|
|
<li class=""><a href="module_cookie.html">cookie</a></li>
|
|
|
|
<li class=""><a href="module_datasource.html">datasource</a></li>
|
|
|
|
<li class=""><a href="module_datatable.html">datatable</a></li>
|
|
|
|
<li class=""><a href="module_dom.html">dom</a></li>
|
|
|
|
<li class=""><a href="module_dragdrop.html">dragdrop</a></li>
|
|
|
|
<li class=""><a href="module_editor.html">editor</a></li>
|
|
|
|
<li class=""><a href="module_element.html">element</a></li>
|
|
|
|
<li class=""><a href="module_event.html">event</a></li>
|
|
|
|
<li class=""><a href="module_get.html">get</a></li>
|
|
|
|
<li class=""><a href="module_history.html">history</a></li>
|
|
|
|
<li class=""><a href="module_imagecropper.html">imagecropper</a></li>
|
|
|
|
<li class=""><a href="module_imageloader.html">imageloader</a></li>
|
|
|
|
<li class=""><a href="module_json.html">json</a></li>
|
|
|
|
<li class=""><a href="module_layout.html">layout</a></li>
|
|
|
|
<li class=""><a href="module_logger.html">logger</a></li>
|
|
|
|
<li class=""><a href="module_menu.html">menu</a></li>
|
|
|
|
<li class=""><a href="module_profiler.html">profiler</a></li>
|
|
|
|
<li class=""><a href="module_profilerviewer.html">profilerviewer</a></li>
|
|
|
|
<li class=""><a href="module_resize.html">resize</a></li>
|
|
|
|
<li class=""><a href="module_selector.html">selector</a></li>
|
|
|
|
<li class=""><a href="module_slider.html">slider</a></li>
|
|
|
|
<li class=""><a href="module_tabview.html">tabview</a></li>
|
|
|
|
<li class=""><a href="module_treeview.html">treeview</a></li>
|
|
|
|
<li class=""><a href="module_uploader.html">uploader</a></li>
|
|
|
|
<li class=""><a href="module_yahoo.html">yahoo</a></li>
|
|
|
|
<li class=""><a href="module_yuiloader.html">yuiloader</a></li>
|
|
|
|
<li class=""><a href="module_yuitest.html">yuitest</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="module">
|
|
<h4>Classes</h4>
|
|
<ul class="content">
|
|
<li class=""><a href="YAHOO.widget.Calendar.html">YAHOO.widget.Calendar</a></li>
|
|
<li class=""><a href="YAHOO.widget.Calendar2up.html">YAHOO.widget.Calendar2up</a></li>
|
|
<li class=""><a href="YAHOO.widget.Calendar_Core.html">YAHOO.widget.Calendar_Core</a></li>
|
|
<li class="selected"><a href="YAHOO.widget.CalendarGroup.html">YAHOO.widget.CalendarGroup</a></li>
|
|
<li class=""><a href="YAHOO.widget.CalendarNavigator.html">YAHOO.widget.CalendarNavigator</a></li>
|
|
<li class=""><a href="YAHOO.widget.DateMath.html">YAHOO.widget.DateMath</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="module">
|
|
<h4>Files</h4>
|
|
<ul class="content">
|
|
<li class=""><a href="Calendar.js.html">Calendar.js</a></li>
|
|
<li class=""><a href="CalendarGroup.js.html">CalendarGroup.js</a></li>
|
|
<li class=""><a href="CalendarNavigator.js.html">CalendarNavigator.js</a></li>
|
|
<li class=""><a href="DateMath.js.html">DateMath.js</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="module">
|
|
<h4>Properties</h4>
|
|
<ul class="content">
|
|
<li class=""><a href="#cfg">cfg</a>
|
|
<!--<code><String></code>-->
|
|
</li>
|
|
<li class=""><a href="#containerId">containerId</a>
|
|
<!--<code><String></code>-->
|
|
</li>
|
|
<li class=""><a href="#id">id</a>
|
|
<!--<code><String></code>-->
|
|
</li>
|
|
<li class=""><a href="#Locale">Locale</a>
|
|
<!--<code><String></code>-->
|
|
</li>
|
|
<li class=""><a href="#Options">Options</a>
|
|
<!--<code><String></code>-->
|
|
</li>
|
|
<li class=""><a href="#pages">pages</a>
|
|
<!--<code><String></code>-->
|
|
</li>
|
|
<li class="private"><a href="#YAHOO.widget.CalendarGroup._DEFAULT_CONFIG">YAHOO.widget.CalendarGroup._DEFAULT_CONFIG</a>
|
|
<!--<code><String></code>-->
|
|
</li>
|
|
<li class=""><a href="#YAHOO.widget.CalendarGroup.CSS_2UPCLOSE">YAHOO.widget.CalendarGroup.CSS_2UPCLOSE</a>
|
|
<!--<code><String></code>-->
|
|
</li>
|
|
<li class=""><a href="#YAHOO.widget.CalendarGroup.CSS_2UPTITLE">YAHOO.widget.CalendarGroup.CSS_2UPTITLE</a>
|
|
<!--<code><String></code>-->
|
|
</li>
|
|
<li class=""><a href="#YAHOO.widget.CalendarGroup.CSS_CONTAINER">YAHOO.widget.CalendarGroup.CSS_CONTAINER</a>
|
|
<!--<code><String></code>-->
|
|
</li>
|
|
<li class=""><a href="#YAHOO.widget.CalendarGroup.CSS_MULTI_UP">YAHOO.widget.CalendarGroup.CSS_MULTI_UP</a>
|
|
<!--<code><String></code>-->
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="module">
|
|
<h4>Methods</h4>
|
|
<ul class="content">
|
|
<li class="private"><!--<code>void</code>-->
|
|
<a href="#_fixWidth">_fixWidth</a>
|
|
</li>
|
|
<li class="private"><!--<code>void</code>-->
|
|
<a href="#_setMonthOnDate">_setMonthOnDate</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#addMonthRenderer">addMonthRenderer</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#addMonths">addMonths</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#addRenderer">addRenderer</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#addWeekdayRenderer">addWeekdayRenderer</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#addYears">addYears</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#callChildFunction">callChildFunction</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#clear">clear</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#configPageDate">configPageDate</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#configPages">configPages</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#configSelected">configSelected</a>
|
|
</li>
|
|
<li class=""><!--<code>YAHOO.widget.Calendar</code>-->
|
|
<a href="#constructChild">constructChild</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#delegateConfig">delegateConfig</a>
|
|
</li>
|
|
<li class=""><!--<code>Date[]</code>-->
|
|
<a href="#deselect">deselect</a>
|
|
</li>
|
|
<li class=""><!--<code>Date[]</code>-->
|
|
<a href="#deselectAll">deselectAll</a>
|
|
</li>
|
|
<li class=""><!--<code>Date[]</code>-->
|
|
<a href="#deselectCell">deselectCell</a>
|
|
</li>
|
|
<li class=""><!--<code>Calendar</code>-->
|
|
<a href="#getCalendarPage">getCalendarPage</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#getSelectedDates">getSelectedDates</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#init">init</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#initEvents">initEvents</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#nextMonth">nextMonth</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#nextYear">nextYear</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#previousMonth">previousMonth</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#previousYear">previousYear</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#removeRenderers">removeRenderers</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#render">render</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#renderFooter">renderFooter</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#renderHeader">renderHeader</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#reset">reset</a>
|
|
</li>
|
|
<li class=""><!--<code>Date[]</code>-->
|
|
<a href="#select">select</a>
|
|
</li>
|
|
<li class=""><!--<code>Date[]</code>-->
|
|
<a href="#selectCell">selectCell</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#setChildFunction">setChildFunction</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#setMonth">setMonth</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#setYear">setYear</a>
|
|
</li>
|
|
<li class="private"><!--<code>void</code>-->
|
|
<a href="#sub">sub</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#subtractMonths">subtractMonths</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#subtractYears">subtractYears</a>
|
|
</li>
|
|
<li class=""><!--<code>String</code>-->
|
|
<a href="#toString">toString</a>
|
|
</li>
|
|
<li class="private"><!--<code>void</code>-->
|
|
<a href="#unsub">unsub</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="module">
|
|
<h4>Events</h4>
|
|
<ul class="content">
|
|
<li class="">
|
|
<a href="#beforeDeselectEvent">beforeDeselectEvent</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#beforeHideEvent">beforeHideEvent</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#beforeHideNavEvent">beforeHideNavEvent</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#beforeRenderEvent">beforeRenderEvent</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#beforeRenderNavEvent">beforeRenderNavEvent</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#beforeSelectEvent">beforeSelectEvent</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#beforeShowEvent">beforeShowEvent</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#beforeShowNavEvent">beforeShowNavEvent</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#changePageEvent">changePageEvent</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#clearEvent">clearEvent</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#deselectEvent">deselectEvent</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#hideEvent">hideEvent</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#hideNavEvent">hideNavEvent</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#renderEvent">renderEvent</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#renderNavEvent">renderNavEvent</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#resetEvent">resetEvent</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#selectEvent">selectEvent</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#showEvent">showEvent</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#showNavEvent">showNavEvent</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="module">
|
|
<h4>Configuration Attributes</h4>
|
|
<ul class="content">
|
|
<li class="">
|
|
<a href="#close">close</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#DATE_DELIMITER">DATE_DELIMITER</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#DATE_FIELD_DELIMITER">DATE_FIELD_DELIMITER</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#DATE_RANGE_DELIMITER">DATE_RANGE_DELIMITER</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#HIDE_BLANK_WEEKS">HIDE_BLANK_WEEKS</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#iframe">iframe</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#LOCALE_MONTHS">LOCALE_MONTHS</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#LOCALE_WEEKDAYS">LOCALE_WEEKDAYS</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#maxdate">maxdate</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#MD_DAY_POSITION">MD_DAY_POSITION</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#MD_MONTH_POSITION">MD_MONTH_POSITION</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#MDY_DAY_POSITION">MDY_DAY_POSITION</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#MDY_MONTH_POSITION">MDY_MONTH_POSITION</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#MDY_YEAR_POSITION">MDY_YEAR_POSITION</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#mindate">mindate</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#MONTHS_LONG">MONTHS_LONG</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#MONTHS_SHORT">MONTHS_SHORT</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#MULTI_SELECT">MULTI_SELECT</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#MY_LABEL_MONTH_POSITION">MY_LABEL_MONTH_POSITION</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#MY_LABEL_MONTH_SUFFIX">MY_LABEL_MONTH_SUFFIX</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#MY_LABEL_YEAR_POSITION">MY_LABEL_YEAR_POSITION</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#MY_LABEL_YEAR_SUFFIX">MY_LABEL_YEAR_SUFFIX</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#MY_MONTH_POSITION">MY_MONTH_POSITION</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#MY_YEAR_POSITION">MY_YEAR_POSITION</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#NAV">NAV</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#NAV_ARROW_LEFT">NAV_ARROW_LEFT</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#NAV_ARROW_RIGHT">NAV_ARROW_RIGHT</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#pagedate">pagedate</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#pages">pages</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#selected">selected</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#SHOW_WEEK_FOOTER">SHOW_WEEK_FOOTER</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#SHOW_WEEK_HEADER">SHOW_WEEK_HEADER</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#SHOW_WEEKDAYS">SHOW_WEEKDAYS</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#START_WEEKDAY">START_WEEKDAY</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#title">title</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#WEEKDAYS_1CHAR">WEEKDAYS_1CHAR</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#WEEKDAYS_LONG">WEEKDAYS_LONG</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#WEEKDAYS_MEDIUM">WEEKDAYS_MEDIUM</a>
|
|
</li>
|
|
<li class="">
|
|
<a href="#WEEKDAYS_SHORT">WEEKDAYS_SHORT</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="ft">
|
|
<hr />
|
|
Copyright © 2007 Yahoo! Inc. All rights reserved.
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|