Class Index | File Index

Classes


Class Alfresco.CustomiseLayout

CustomiseLayout component.
Constructor Summary
Constructor Attributes Constructor Name and Description
 
Alfresco.CustomiseLayout 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 when the user clicks cancel layout button.
 
Fired when the user clicks change layout button.
 
Fired by YUILoaderHelper when required component script files have
 
onSelectLayoutClick(selectedLayoutId)
Fired when the user clicks one of the select buttons or icons for a layout.
 
Set messages for this module.
 
Set multiple initialization options at once.
Constructor Detail
Alfresco.CustomiseLayout(htmlId)
Alfresco.CustomiseLayout constructor.
Parameters:
{string} htmlId
The HTML id of the parent element
Returns:
{Alfresco.CustomiseLayout} The new CustomiseLayout instance
Field Detail
{object} options
Object container for initialization options

{object} widgets
Object container for storing YUI widget instances.
Method Detail
onCancelButtonClick(event)
Fired when the user clicks cancel layout button.
Hides the layout list.
Parameters:
{object} event
an "click" event

onChangeButtonClick(event)
Fired when the user clicks change layout button.
Shows the layout list.
Parameters:
{object} event
an "click" event

onComponentsLoaded()
Fired by YUILoaderHelper when required component script files have
been loaded into the browser.

onSelectLayoutClick(selectedLayoutId)
Fired when the user clicks one of the select buttons or icons for a layout.
Changes the current layout to the selected layout and throws an global
event, that can be captured by other components, such as
Alfresco.CustomiseDashlets.
Parameters:
{string} selectedLayoutId
The id of the selected layout

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

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

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