Class Index | File Index

Classes


Class Alfresco.component.DataListToolbar

Extends Alfresco.component.Base
Data Lists: Toolbar component.

Displays a list of Toolbar
Defined in: toolbar.js
Constructor Summary
Constructor Attributes Constructor Name and Description
 
Toolbar constructor.
Field Summary
Field Attributes Field Name and Description
 
Object container for initialization options
Fields borrowed from class Alfresco.component.Base:
modules, services, widgets
Method Summary
Method Attributes Method Name and Description
 
Deselect currectly selected assets.
 
onNewRow(e, p_obj)
New Row button click handler
 
Fired by YUI when parent element is available for scripting.
 
onSelectedItems(sType, aArgs, p_obj)
Selected Items button click handler
 
Selected Items Changed event handler.
 
onUserAccess(layer, args)
User Access event handler
Methods borrowed from class Alfresco.component.Base:
attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.component.DataListToolbar(htmlId)
Toolbar constructor.
Parameters:
{String} htmlId
The HTML id of the parent element
Returns:
{Alfresco.component.DataListToolbar} The new Toolbar instance
Field Detail
{object} options
Object container for initialization options
Method Detail
onActionDeselectAll()
Deselect currectly selected assets.

onNewRow(e, p_obj)
New Row button click handler
Parameters:
{object} e
DomEvent
{object} p_obj
Object passed back from addListener method

onReady()
Fired by YUI when parent element is available for scripting.

onSelectedItems(sType, aArgs, p_obj)
Selected Items button click handler
Parameters:
{string} sType
Event type, e.g. "click"
{array} aArgs
Arguments array, [0] = DomEvent, [1] = EventTarget
{object} p_obj
Object passed back from subscribe method

onSelectedItemsChanged(layer, args)
Selected Items Changed event handler.
Determines whether to enable or disable the multi-item action drop-down
Parameters:
{object} layer
Event fired
{array} args
Event parameters (depends on event type)

onUserAccess(layer, args)
User Access event handler
Parameters:
{object} layer
Event fired
{array} args
Event parameters (depends on event type)

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