public class SchemeTableModel extends com.google.gwt.gen2.table.client.MutableTableModel<ViewScheme>
Constructor and Description |
---|
SchemeTableModel() |
Modifier and Type | Method and Description |
---|---|
void |
addFilter(String key,
String value)
Add a filter condition
|
void |
clearFilters()
Clear filters prior to new request
|
void |
getClassificationNodes(String guid,
com.google.gwt.user.client.rpc.AsyncCallback<com.google.gwt.gen2.table.client.TableModelHelper.SerializableResponse<ViewClassificationNode>> asyncCallback) |
protected boolean |
onRowInserted(int beforeRow) |
protected boolean |
onRowRemoved(int row) |
protected boolean |
onSetRowValue(int row,
ViewScheme rowValue) |
void |
requestRows(com.google.gwt.gen2.table.client.TableModelHelper.Request request,
com.google.gwt.gen2.table.client.TableModel.Callback<ViewScheme> callback)
Get rows from table as necessary.
|
void |
setServerUrl(String serverUrl) |
addRowInsertionHandler, addRowRemovalHandler, addRowValueChangeHandler, insertRow, removeRow, setRowValue
public void setServerUrl(String serverUrl)
public void addFilter(String key, String value)
key
- filter namevalue
- filter valuepublic void clearFilters()
public void requestRows(com.google.gwt.gen2.table.client.TableModelHelper.Request request, com.google.gwt.gen2.table.client.TableModel.Callback<ViewScheme> callback)
requestRows
in class com.google.gwt.gen2.table.client.TableModel<ViewScheme>
request
- request containing paging and sort infocallback
- callback function to handle the responsepublic void getClassificationNodes(String guid, com.google.gwt.user.client.rpc.AsyncCallback<com.google.gwt.gen2.table.client.TableModelHelper.SerializableResponse<ViewClassificationNode>> asyncCallback)
protected boolean onRowInserted(int beforeRow)
onRowInserted
in class com.google.gwt.gen2.table.client.MutableTableModel<ViewScheme>
protected boolean onRowRemoved(int row)
onRowRemoved
in class com.google.gwt.gen2.table.client.MutableTableModel<ViewScheme>
protected boolean onSetRowValue(int row, ViewScheme rowValue)
onSetRowValue
in class com.google.gwt.gen2.table.client.MutableTableModel<ViewScheme>
Copyright © 2010–2017 Planetary Data System. All rights reserved.