Class GridTabSelectionListViewRenderer

java.lang.Object
org.adempiere.webui.editor.grid.selection.GridTabSelectionListViewRenderer
All Implemented Interfaces:
org.zkoss.zul.ListitemRenderer<GridTableRow>, org.zkoss.zul.ListitemRendererExt, org.zkoss.zul.RendererCtrl

public class GridTabSelectionListViewRenderer extends Object implements org.zkoss.zul.ListitemRenderer<GridTableRow>, org.zkoss.zul.ListitemRendererExt, org.zkoss.zul.RendererCtrl
ListItem renderer for GridTabSelectionListView
Author:
hengsin
  • Constructor Details

    • GridTabSelectionListViewRenderer

      public GridTabSelectionListViewRenderer(GridTab gridTab, int windowNo)
      Parameters:
      gridTab -
      windowNo -
  • Method Details

    • render

      public void render(org.zkoss.zul.Listitem listitem, GridTableRow data, int index) throws Exception
      Specified by:
      render in interface org.zkoss.zul.ListitemRenderer<GridTableRow>
      Parameters:
      listitem -
      data -
      Throws:
      Exception
      See Also:
      • ListitemRenderer.render(Listitem, Object, int)
    • getControls

      public int getControls()
      Specified by:
      getControls in interface org.zkoss.zul.ListitemRendererExt
      See Also:
      • ListitemRendererExt.getControls()
    • newListcell

      public org.zkoss.zul.Listcell newListcell(org.zkoss.zul.Listitem item)
      Specified by:
      newListcell in interface org.zkoss.zul.ListitemRendererExt
      Parameters:
      item -
      See Also:
      • ListitemRendererExt.newListcell(Listitem)
    • newListitem

      public org.zkoss.zul.Listitem newListitem(org.zkoss.zul.Listbox listbox)
      Specified by:
      newListitem in interface org.zkoss.zul.ListitemRendererExt
      Parameters:
      listbox -
      See Also:
      • ListitemRendererExt.newListitem(Listbox)
    • isInitialize

      public boolean isInitialize()
      Is renderer initialize
      Returns:
      true if initialize, false otherwise
    • getEditors

      public List<WEditor> getEditors()
      Returns:
      field editor list
    • doCatch

      public void doCatch(Throwable ex) throws Throwable
      Specified by:
      doCatch in interface org.zkoss.zul.RendererCtrl
      Throws:
      Throwable
      See Also:
      • RendererCtrl.doCatch(Throwable)
    • doFinally

      public void doFinally()
      Specified by:
      doFinally in interface org.zkoss.zul.RendererCtrl
      See Also:
      • RendererCtrl.doFinally()
    • doTry

      public void doTry()
      Specified by:
      doTry in interface org.zkoss.zul.RendererCtrl
      See Also:
      • RendererCtrl.doTry()
    • setListView

      public void setListView(GridTabSelectionListView listView)
      Parameters:
      listView -
    • getListView

      public GridTabSelectionListView getListView()
      Returns:
      GridTabSelectionListView