Class DefaultActionCellRenderer
- java.lang.Object
-
- de.hybris.platform.cockpit.components.listview.impl.DefaultActionCellRenderer
-
- All Implemented Interfaces:
ActionCellRenderer,CellRenderer
public class DefaultActionCellRenderer extends java.lang.Object implements ActionCellRenderer
-
-
Constructor Summary
Constructors Constructor Description DefaultActionCellRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ListViewAction>getActions()protected 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(java.util.List<ListViewAction> listViewActions)
-
-
-
Method Detail
-
getActions
public java.util.List<ListViewAction> getActions()
- Specified by:
getActionsin interfaceActionCellRenderer
-
setActions
public void setActions(java.util.List<ListViewAction> listViewActions)
- Specified by:
setActionsin interfaceActionCellRenderer
-
render
public void render(TableModel model, int colIndex, int rowIndex, org.zkoss.zk.ui.Component parent)
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)
-
-