Interface UIListView
-
- All Superinterfaces:
java.lang.Cloneable,org.zkoss.zk.ui.Component,org.zkoss.zk.ui.api.HtmlBasedComponent,org.zkoss.zk.ui.ext.Scope,java.io.Serializable,UIItemView,UIViewComponent
- All Known Implementing Classes:
AbstractListView,ListView,TaskListView
public interface UIListView extends UIItemView
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddListViewListener(ListViewListener listener)voideditCellAt(int columnIndex, int rowIndex)TableModelgetModel()java.lang.ObjectgetValueAt(int columnIndex, int rowIndex)voidremoveListViewListener(ListViewListener listener)voidsetModel(TableModel model)voidsetShowColumnHeaders(boolean showHeaders)voidsetValueAt(int columnIndex, int rowIndex, java.lang.Object data)voidupdateCell(int columnIndex, int rowIndex)Called whenever a cell's content needs to be re-rendered.voidupdateColumns()Called whenever a column's visibility has changed.voidupdateColumns(java.lang.Integer colIndex)Called whenever a column's visibility has changed (and column is not shown as last column).voidupdateRow(int rowIndex)Called whenever a row needs to be re-rendered.voidupdateVisibleColumns()Called whenever the visible columns have changed in some way i.e.-
Methods inherited from interface org.zkoss.zk.ui.Component
addEventListener, addEventListener, addForward, addForward, addForward, addForward, appendChild, applyProperties, clone, detach, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getAutag, getChildren, getClientAttribute, getClientDataAttribute, getDefinition, getDesktop, getEventListeners, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, getShadowVariable, getShadowVariable, getSpaceOwner, getStubonly, getTemplate, getTemplateNames, getUuid, getWidgetAttribute, getWidgetAttributeNames, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttributeOrFellow, hasFellow, hasFellow, insertBefore, invalidate, isInvalidated, isListenerAvailable, isVisible, query, queryAll, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, setAttribute, setAttribute, setAuService, setAutag, setClientAttribute, setClientDataAttribute, setId, setMold, setPage, setPageBefore, setParent, setStubonly, setStubonly, setTemplate, setVisible, setWidgetAttribute, setWidgetClass, setWidgetListener, setWidgetOverride
-
Methods inherited from interface org.zkoss.zk.ui.api.HtmlBasedComponent
focus, getHeight, getLeft, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZclass, getZindex, getZIndex, setDraggable, setDroppable, setFocus, setHeight, setLeft, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZclass, setZindex, setZIndex
-
Methods inherited from interface org.zkoss.zk.ui.ext.Scope
addScopeListener, getAttribute, hasAttribute, removeAttribute, removeScopeListener, setAttribute
-
Methods inherited from interface de.hybris.platform.cockpit.model.general.UIItemView
setDDContext, updateActivation, updateActiveItems, updateItem, updateItems, updateSelection
-
Methods inherited from interface de.hybris.platform.cockpit.model.general.UIViewComponent
initialize, update
-
-
-
-
Method Detail
-
setModel
void setModel(TableModel model)
-
getModel
TableModel getModel()
-
setValueAt
void setValueAt(int columnIndex, int rowIndex, java.lang.Object data)
-
getValueAt
java.lang.Object getValueAt(int columnIndex, int rowIndex)
-
editCellAt
void editCellAt(int columnIndex, int rowIndex)
-
setShowColumnHeaders
void setShowColumnHeaders(boolean showHeaders)
-
addListViewListener
void addListViewListener(ListViewListener listener)
-
removeListViewListener
void removeListViewListener(ListViewListener listener)
-
updateCell
void updateCell(int columnIndex, int rowIndex)Called whenever a cell's content needs to be re-rendered.- Parameters:
columnIndex- zero based column position index of the cell to re-renderrowIndex- zero based row position index of the cell to re-render
-
updateRow
void updateRow(int rowIndex)
Called whenever a row needs to be re-rendered.- Parameters:
rowIndex- zero based position index of the row to re-render
-
updateVisibleColumns
void updateVisibleColumns()
Called whenever the visible columns have changed in some way i.e. when a column has been moved.
-
updateColumns
void updateColumns()
Called whenever a column's visibility has changed.
-
updateColumns
void updateColumns(java.lang.Integer colIndex)
Called whenever a column's visibility has changed (and column is not shown as last column).
-
-