public class LazyPageableListModel<T>
extends org.zkoss.zul.AbstractListModel<T>
Pageable.| Constructor and Description |
|---|
LazyPageableListModel(Pageable<T> pageable) |
| Modifier and Type | Method and Description |
|---|---|
T |
getElementAt(int index) |
protected List<T> |
getOrLoadPage(int pageNumber) |
int |
getSize() |
void |
refresh()
Refreshes
Pageable.refresh() and clears page cache. |
addListDataListener, addPagingEventListener, addToSelection, clearSelection, clone, fireEvent, fireSelectionEvent, getActivePage, getPageCount, getPageSize, getSelection, getSelectionControl, isMultiple, isSelected, isSelectionEmpty, newEmptySelection, readSelection, removeAllSelection, removeFromSelection, removeListDataListener, removePagingEventListener, retainAllSelection, setActivePage, setMultiple, setPageSize, setSelection, setSelectionControl, writeSelectionpublic int getSize()
public T getElementAt(int index)
public void refresh()
Pageable.refresh() and clears page cache. Fires ListDataEvent.CONTENTS_CHANGED which
causes list re renderCopyright © 2018. All rights reserved.