Class DefaultActionCellRenderer
java.lang.Object
de.hybris.platform.cockpit.components.listview.impl.DefaultActionCellRenderer
- All Implemented Interfaces:
ActionCellRenderer,CellRenderer
- Direct Known Subclasses:
CmsComponentStatusActionCellRenderer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidregisterEventListener(org.zkoss.zul.Image actionImg, ListViewAction listViewAction, ListViewAction.Context context, org.zkoss.zk.ui.Component parent) voidrender(TableModel model, int colIndex, int rowIndex, org.zkoss.zk.ui.Component parent) Renders the cell content of the cell at position (colIndex,rowIndex).voidsetActions(List<ListViewAction> listViewActions)
-
Constructor Details
-
DefaultActionCellRenderer
public DefaultActionCellRenderer()
-
-
Method Details
-
getActions
- Specified by:
getActionsin interfaceActionCellRenderer
-
setActions
- Specified by:
setActionsin interfaceActionCellRenderer
-
render
Description copied from interface:CellRendererRenders the cell content of the cell at position (colIndex,rowIndex).- Specified by:
renderin interfaceCellRenderer- Parameters:
model- the underlying table model containing information about the cell that is to be renderedcolIndex- zero based column index of the cell to be renderedrowIndex- zero based row index of the cell to be renderedparent- the parent component that will contain the view components created by the renderer
-
registerEventListener
protected void registerEventListener(org.zkoss.zul.Image actionImg, ListViewAction listViewAction, ListViewAction.Context context, org.zkoss.zk.ui.Component parent)
-