Class Alfresco.ConsoleTrashcan
Extends Alfresco.ConsoleTool
ConsoleTrashcan tool component.
Defined in: trashcan.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Alfresco.ConsoleTrashcan(htmlId)
ConsoleTrashcan constructor.
|
- Fields borrowed from class Alfresco.ConsoleTool:
- currentPanelId, panels, popups
- Fields borrowed from class Alfresco.component.Base:
- modules, options, services, widgets
| Method Attributes | Method Name and Description |
|---|---|
|
onEmptyClick(e, args)
Empty trashcan button click event handler
|
|
|
onReady()
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.
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