Class Alfresco.Period
Period component.
Defined in: period.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Alfresco.Period(htmlId, currentValueHtmlId)
Period constructor.
|
| 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 Attributes | Method Name and Description |
|---|---|
|
Fired by YUILoaderHelper when required component script files have
|
|
|
onReady()
Fired by YUI when parent element is available for scripting.
|
|
|
setMessages(obj)
Set messages for this component.
|
|
|
setOptions(obj)
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.
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.
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