Package org.adempiere.webui.component
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
List item renderer for Info Window list box.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.adempiere.webui.component.WListItemRenderer
WListItemRenderer.ColumnComparator
-
Field Summary
Fields inherited from class org.adempiere.webui.component.WListItemRenderer
iconPrefix, m_listeners
Fields inherited from interface org.zkoss.zul.ListitemRendererExt
DETACH_ON_RENDER
-
Constructor Summary
ConstructorDescriptionWInfoWindowListItemRenderer
(InfoWindow infoWindow) WInfoWindowListItemRenderer
(InfoWindow infoWindow, List<? extends String> columnNames) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.zkoss.zul.Listcell
getCellComponent
(WListbox table, Object field, int rowIndex, int columnIndex) Create cell for the givenvalue
.void
setGridDisplaydInfoColumns
(InfoColumnVO[] infoColumns, ColumnInfo[] columnInfos) Set columns to displayMethods inherited from class org.adempiere.webui.component.WListItemRenderer
addColumn, addColumn, addColumn, addTableValueChangeListener, clearColumns, clearSelection, getColumn, getColumnComparator, getColumnPosition, getControls, getListHeader, getNoColumns, getRowPosition, getTableColumns, newListcell, newListitem, onEvent, removeTableValueChangeListener, render, renderListHead, setColumnClass, setColumnHeader, setListHeader, setRO, updateColumn
-
Constructor Details
-
WInfoWindowListItemRenderer
- Parameters:
infoWindow
-
-
WInfoWindowListItemRenderer
- Parameters:
infoWindow
-columnNames
-
-
-
Method Details
-
setGridDisplaydInfoColumns
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 givenvalue
.- Overrides:
getCellComponent
in classWListItemRenderer
- 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.
-