Class WInfoWindowListItemRenderer

java.lang.Object
org.adempiere.webui.component.WListItemRenderer
org.adempiere.webui.component.WInfoWindowListItemRenderer
All Implemented Interfaces:
org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>, org.zkoss.zul.ListitemRenderer<Object>, org.zkoss.zul.ListitemRendererExt

public class WInfoWindowListItemRenderer extends WListItemRenderer
List item renderer for Info Window list box.
  • Constructor Details

    • WInfoWindowListItemRenderer

      public WInfoWindowListItemRenderer(InfoWindow infoWindow)
      Parameters:
      infoWindow -
    • WInfoWindowListItemRenderer

      public WInfoWindowListItemRenderer(InfoWindow infoWindow, List<? extends String> columnNames)
      Parameters:
      infoWindow -
      columnNames -
  • Method Details

    • setGridDisplaydInfoColumns

      public void setGridDisplaydInfoColumns(InfoColumnVO[] infoColumns, ColumnInfo[] columnInfos)
      Set columns to display
      Parameters:
      infoColumns -
      columnInfos -
    • getCellComponent

      protected org.zkoss.zul.Listcell getCellComponent(WListbox table, Object field, int rowIndex, int columnIndex)
      Description copied from class: WListItemRenderer
      Create cell for the given value.
      Overrides:
      getCellComponent in class WListItemRenderer
      Parameters:
      table - The table into which the cell will be placed.
      field - Value for which the cell is to be created.
      rowIndex - The row in which the cell is to be placed.
      columnIndex - The column in which the cell is to be placed.
      Returns:
      The list cell component.