Class Index | File Index

Classes


Class Alfresco.Period

Period component.
Defined in: period.js
Constructor Summary
Constructor Attributes Constructor Name and Description
 
Alfresco.Period(htmlId, currentValueHtmlId)
Period constructor.
Field Summary
Field Attributes Field Name and Description
 
Object container for initialization options
 
Object containing all period definitions keyed by period label.
 
Object containing all period definitions keyed by period type.
 
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.Period(htmlId, currentValueHtmlId)
Period constructor.
Parameters:
{String} htmlId
The HTML id of the parent element
{String} currentValueHtmlId
The HTML id of the parent element
Returns:
{Alfresco.Period} The new Period instance
Field Detail
{object} options
Object container for initialization options

{object} periodDefinitionsByLabel
Object containing all period definitions keyed by period label.

{object} periodDefinitionsByType
Object containing all period definitions keyed by period type.

{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.Period} setMessages(obj)
Set messages for this component.
Parameters:
{object} obj
Object literal specifying a set of messages
Returns:
{Alfresco.Period} returns 'this' for method chaining

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

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