Class ecm.widget.listView.common

Contains the common decorators.
Defined in: <ecm\widget\listView\decorators\common.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
<static>  
ecm.widget.listView.common.mimeTypeIcon(item)
Creates HTML to render a mimetype icon.
<static>  
ecm.widget.listView.common.mimeTypeIconWithOpenItem(item, listId, rowId)
Creates HTML to render a mimetype icon and enables an onclick event to open the specified item.
<static>  
ecm.widget.listView.common.multiStateIcon(item, states, includeBlank)
Creates HTML to render multiple states.
<static>  
ecm.widget.listView.common.stateIcon(item)
Creates HTML to render a state for teamspaces.

Constructor Detail

ecm.widget.listView.common()

Method Detail

<static> ecm.widget.listView.common.mimeTypeIcon(item)

Creates HTML to render a mimetype icon.
Parameters:
item
Handle to the ecm.model.Item containing the mime type information.

<static> ecm.widget.listView.common.mimeTypeIconWithOpenItem(item, listId, rowId)

Creates HTML to render a mimetype icon and enables an onclick event to open the specified item.
Parameters:
item
Handle to the ecm.model.Item containing the mime type information.
listId
ID of the widget used to open the item.
rowId
ID of the row containing the cell.

<static> ecm.widget.listView.common.multiStateIcon(item, states, includeBlank)

Creates HTML to render multiple states.
Parameters:
item
Handle to the ecm.model.Item containing the state information.
states
Array of supported states.
includeBlank
Boolean used to determine if blank space should be displayed if no states are available. In the details view we want a blank space, but we do not want a blank space in magazine view.

<static> ecm.widget.listView.common.stateIcon(item)

Creates HTML to render a state for teamspaces.
Parameters:
item
Handle to the ecm.model.Item containing the state information.
Since:
2.0.3