Class Index | File Index

Classes


Class Alfresco.widget.DashletResizer

Dashlet Resizer.
Defined in: share.js
Constructor Summary
Constructor Attributes Constructor Name and Description
 
Alfresco.widget.DashletResizer(htmlId, dashletId)
Dashlet Resizer constructor.
Field Summary
Field Attributes Field Name and Description
 
DOM node of dashlet
 
DOM node of dashlet body
 
The dashletId.
 
Difference in height between dashlet offsetHeight and dashletBody CSS height
 
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 end resize event listener.
 
Fired by YUI when parent element is available for scripting.
 
Fired by resize event listener.
 
Set multiple initialization options at once.
Constructor Detail
Alfresco.widget.DashletResizer(htmlId, dashletId)
Dashlet Resizer constructor.
Parameters:
htmlId
dashletId
Returns:
{Alfresco.widget.DashletResizer} The new Alfresco.widget.DashletResizer instance
Field Detail
{object} dashlet
DOM node of dashlet
Resizer will look for first child DIV of dashlet with class="dashlet" and attach to this
Default Value:
null

{object} dashletBody
DOM node of dashlet body
Resizer will look for first child DIV of dashlet with class="body" and resize this element
Default Value:
null

{string} dashletId
The dashletId.

{int} heightDelta
Difference in height between dashlet offsetHeight and dashletBody CSS height
Default Value:
0

{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.

onEndResize(h)
Fired by end resize event listener.
Parameters:
h
Height - not used

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

onResize()
Fired by resize event listener.

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

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