Class Index | File Index

Classes


Class Alfresco.ConsoleTrashcan

Extends Alfresco.ConsoleTool
ConsoleTrashcan tool component.
Defined in: trashcan.js
Constructor Summary
Constructor Attributes Constructor Name and Description
 
ConsoleTrashcan constructor.
Fields borrowed from class Alfresco.ConsoleTool:
currentPanelId, panels, popups
Fields borrowed from class Alfresco.component.Base:
modules, options, services, widgets
Method Summary
Method Attributes Method Name and Description
 
onEmptyClick(e, args)
Empty trashcan button click event handler
 
Fired by YUI when parent element is available for scripting.
 
Refresh the list after an action has occured
 
renderCellActions(elCell, oRecord, oColumn, oData)
Actions custom datacell formatter
 
renderCellDescription(elCell, oRecord, oColumn, oData)
Description metadata custom datacell formatter
 
renderCellIcon(elCell, oRecord, oColumn, oData)
File/Folder icon custom datacell formatter
Methods borrowed from class Alfresco.ConsoleTool:
onHistoryManagerReady, onStateChanged
Methods borrowed from class Alfresco.component.Base:
attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.ConsoleTrashcan(htmlId)
ConsoleTrashcan constructor.
Parameters:
{String} htmlId
The HTML id ´┐Żof the parent element
Returns:
{Alfresco.ConsoleTrashcan} The new ConsoleTrashcan instance
Method Detail
onEmptyClick(e, args)
Empty trashcan button click event handler
Parameters:
{object} e
DomEvent
{array} args
Event parameters (depends on event type)

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

refreshDataTable()
Refresh the list after an action has occured

renderCellActions(elCell, oRecord, oColumn, oData)
Actions custom datacell formatter
Parameters:
elCell
oRecord
oColumn
oData

renderCellDescription(elCell, oRecord, oColumn, oData)
Description metadata custom datacell formatter
Parameters:
elCell
oRecord
oColumn
oData

renderCellIcon(elCell, oRecord, oColumn, oData)
File/Folder icon custom datacell formatter
Parameters:
elCell
oRecord
oColumn
oData

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