protected class TableDisplayerView.TableProvider extends com.google.gwt.view.client.AsyncDataProvider<Integer>
Modifier and Type | Field and Description |
---|---|
protected int |
lastOffset |
protected int |
lastPageSize |
Modifier | Constructor and Description |
---|---|
protected |
TableProvider() |
Modifier and Type | Method and Description |
---|---|
void |
addDataDisplay(com.google.gwt.view.client.HasData<Integer> display)
Invoked from createWidget just after the data set has been fetched.
|
protected List<Integer> |
getCurrentPageRows(com.google.gwt.view.client.HasData<Integer> display) |
void |
gotoFirstPage()
Both filter & sort invoke this method from redraw()
|
protected void |
onRangeChanged(com.google.gwt.view.client.HasData<Integer> display)
This is invoked internally by the PagedTable on navigation actions.
|
updateRowCount, updateRowData
protected List<Integer> getCurrentPageRows(com.google.gwt.view.client.HasData<Integer> display)
public void gotoFirstPage()
public void addDataDisplay(com.google.gwt.view.client.HasData<Integer> display)
addDataDisplay
in class com.google.gwt.view.client.AbstractDataProvider<Integer>
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.