Interface UIListView

    • Field Summary

      • Fields inherited from interface org.zkoss.zk.ui.Component

        APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addListViewListener​(ListViewListener listener)  
      void editCellAt​(int columnIndex, int rowIndex)  
      TableModel getModel()  
      java.lang.Object getValueAt​(int columnIndex, int rowIndex)  
      void removeListViewListener​(ListViewListener listener)  
      void setModel​(TableModel model)  
      void setShowColumnHeaders​(boolean showHeaders)  
      void setValueAt​(int columnIndex, int rowIndex, java.lang.Object data)  
      void updateCell​(int columnIndex, int rowIndex)
      Called whenever a cell's content needs to be re-rendered.
      void updateColumns()
      Called whenever a column's visibility has changed.
      void updateColumns​(java.lang.Integer colIndex)
      Called whenever a column's visibility has changed (and column is not shown as last column).
      void updateRow​(int rowIndex)
      Called whenever a row needs to be re-rendered.
      void updateVisibleColumns()
      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
    • Method Detail

      • 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)
      • 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-render
        rowIndex - 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).