|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.widgetideas.table.client.TableModel<R>
com.google.gwt.widgetideas.table.client.ClientTableModel<R>
R
- the data type of the row valuespublic abstract class ClientTableModel<R>
A TableModel
used when the data source can be accessed synchronously.
Nested Class Summary | |
---|---|
static class |
ClientTableModel.ClientResponse<R>
A Response that can be used when the response is not going over a RPC request. |
Nested classes/interfaces inherited from class com.google.gwt.widgetideas.table.client.TableModel |
---|
TableModel.Callback<R>, TableModel.ColumnSortInfo, TableModel.ColumnSortList, TableModel.Request, TableModel.Response<R>, TableModel.SerializableResponse<R extends java.io.Serializable> |
Field Summary |
---|
Fields inherited from class com.google.gwt.widgetideas.table.client.TableModel |
---|
ALL_ROWS, UNKNOWN_ROW_COUNT |
Constructor Summary | |
---|---|
ClientTableModel()
|
Method Summary | |
---|---|
abstract java.lang.Object |
getCell(int rowNum,
int colNum)
Get the value for a given cell. |
void |
requestRows(TableModel.Request request,
TableModel.Callback<R> callback)
See TableModel . |
Methods inherited from class com.google.gwt.widgetideas.table.client.TableModel |
---|
addTableModelListener, getRowCount, insertRow, onRowInserted, onRowRemoved, onSetData, removeRow, removeTableModelListener, setData, setRowCount |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientTableModel()
Method Detail |
---|
public abstract java.lang.Object getCell(int rowNum, int colNum)
rowNum
- the row indexcolNum
- the column index
public void requestRows(TableModel.Request request, TableModel.Callback<R> callback)
TableModel
.
requestRows
in class TableModel<R>
request
- the TableModel.Request
for row datacallback
- the TableModel.Callback
to use for the TableModel.Response
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |