Class InlineItemRenderer

  • All Implemented Interfaces:
    CellRenderer

    public class InlineItemRenderer
    extends java.lang.Object
    implements CellRenderer
    The Class InlineItemRenderer.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.zkoss.zul.Button getCreateItemButton()
      Gets the create item button.
      void render​(TableModel model, int colIndex, int rowIndex, org.zkoss.zk.ui.Component parent)
      Renders the cell content of the cell at position (colIndex, rowIndex).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InlineItemRenderer

        public InlineItemRenderer()
    • Method Detail

      • getCreateItemButton

        public org.zkoss.zul.Button getCreateItemButton()
        Gets the create item button.
        Returns:
        button object
      • 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