public class ClassificationNodeTableModel extends com.google.gwt.gen2.table.client.MutableTableModel<ViewClassificationNode>
Constructor and Description |
---|
ClassificationNodeTableModel() |
Modifier and Type | Method and Description |
---|---|
void |
addFilter(String key,
String value)
Add a filter condition
|
void |
clearFilters()
Clear filters prior to new request
|
protected boolean |
onRowInserted(int beforeRow) |
protected boolean |
onRowRemoved(int row) |
protected boolean |
onSetRowValue(int row,
ViewClassificationNode rowValue) |
void |
requestRows(com.google.gwt.gen2.table.client.TableModelHelper.Request request,
com.google.gwt.gen2.table.client.TableModel.Callback<ViewClassificationNode> 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<ViewClassificationNode> callback)
requestRows
in class com.google.gwt.gen2.table.client.TableModel<ViewClassificationNode>
request
- request containing paging and sort infocallback
- callback function to handle the responseprotected boolean onRowInserted(int beforeRow)
onRowInserted
in class com.google.gwt.gen2.table.client.MutableTableModel<ViewClassificationNode>
protected boolean onRowRemoved(int row)
onRowRemoved
in class com.google.gwt.gen2.table.client.MutableTableModel<ViewClassificationNode>
protected boolean onSetRowValue(int row, ViewClassificationNode rowValue)
onSetRowValue
in class com.google.gwt.gen2.table.client.MutableTableModel<ViewClassificationNode>
Copyright © 2010–2017 Planetary Data System. All rights reserved.