Class Index | File Index

Classes


Class Alfresco.DatePicker

DatePicker component.
Defined in: date-picker.js
Constructor Summary
Constructor Attributes Constructor Name and Description
 
Alfresco.DatePicker(htmlId, currentValueHtmlId)
DatePicker constructor.
Field Summary
Field Attributes Field Name and Description
 
Object container for initialization options
 
Object container for storing YUI widget instances.
Method Summary
Method Attributes Method Name and Description
 
Fired by YUILoaderHelper when required component script files have
 
Fired by YUI when parent element is available for scripting.
 
Set messages for this component.
 
Set multiple initialization options at once.
Constructor Detail
Alfresco.DatePicker(htmlId, currentValueHtmlId)
DatePicker constructor.
Parameters:
{String} htmlId
The HTML id of the parent element
{String} currentValueHtmlId
The HTML id of the parent element
Returns:
{Alfresco.DatePicker} The new DatePicker instance
Field Detail
{object} options
Object container for initialization options

{object} widgets
Object container for storing YUI widget instances.
Method Detail
onComponentsLoaded()
Fired by YUILoaderHelper when required component script files have
been loaded into the browser.

onReady()
Fired by YUI when parent element is available for scripting.
Component initialisation, including instantiation of YUI widgets and event listener binding.

{Alfresco.DatePicker} setMessages(obj)
Set messages for this component.
Parameters:
{object} obj
Object literal specifying a set of messages
Returns:
{Alfresco.DatePicker} returns 'this' for method chaining

{Alfresco.DatePicker} setOptions(obj)
Set multiple initialization options at once.
Parameters:
{object} obj
Object literal specifying a set of options
Returns:
{Alfresco.DatePicker} returns 'this' for method chaining

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Feb 16 2012 12:24:25 GMT-0000 (GMT)