public class EventTableModel extends com.google.gwt.gen2.table.client.MutableTableModel<ViewAuditableEvent>
| Constructor and Description |
|---|
EventTableModel() |
| 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,
ViewAuditableEvent rowValue) |
void |
requestRows(com.google.gwt.gen2.table.client.TableModelHelper.Request request,
com.google.gwt.gen2.table.client.TableModel.Callback<ViewAuditableEvent> callback)
Get rows from table as necessary.
|
void |
setServerUrl(String serverUrl) |
addRowInsertionHandler, addRowRemovalHandler, addRowValueChangeHandler, insertRow, removeRow, setRowValuepublic 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<ViewAuditableEvent> callback)
requestRows in class com.google.gwt.gen2.table.client.TableModel<ViewAuditableEvent>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<ViewAuditableEvent>protected boolean onRowRemoved(int row)
onRowRemoved in class com.google.gwt.gen2.table.client.MutableTableModel<ViewAuditableEvent>protected boolean onSetRowValue(int row,
ViewAuditableEvent rowValue)
onSetRowValue in class com.google.gwt.gen2.table.client.MutableTableModel<ViewAuditableEvent>Copyright © 2010–2018 Planetary Data System. All rights reserved.