Class DefaultActionCellRenderer

java.lang.Object
de.hybris.platform.cockpit.components.listview.impl.DefaultActionCellRenderer
All Implemented Interfaces:
ActionCellRenderer, CellRenderer
Direct Known Subclasses:
CmsComponentStatusActionCellRenderer

public class DefaultActionCellRenderer extends Object implements ActionCellRenderer
  • Constructor Details

    • DefaultActionCellRenderer

      public DefaultActionCellRenderer()
  • Method Details

    • getActions

      public List<ListViewAction> getActions()
      Specified by:
      getActions in interface ActionCellRenderer
    • setActions

      public void setActions(List<ListViewAction> listViewActions)
      Specified by:
      setActions in interface ActionCellRenderer
    • render

      public void render(TableModel model, int colIndex, int rowIndex, org.zkoss.zk.ui.Component parent)
      Description copied from interface: CellRenderer
      Renders the cell content of the cell at position (colIndex, rowIndex).
      Specified by:
      render in interface CellRenderer
      Parameters:
      model - the underlying table model containing information about the cell that is to be rendered
      colIndex - zero based column index of the cell to be rendered
      rowIndex - zero based row index of the cell to be rendered
      parent - 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)