Class DefaultActionCellRenderer

    • Constructor Detail

      • DefaultActionCellRenderer

        public DefaultActionCellRenderer()
    • Method Detail

      • 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)