public interface ITableModel<T>
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MAX_SIZE
Default size used to truncate results in case of large data sets as query results, if no other limit has been set.
|
static int |
IN_MEMORY_FILTER_OR_SORT_MAX_SIZE
Size used to truncate results in case of in memory filtering or sorting of large data sets as query results.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChangeListener(ITableModelListener<T> l) |
List<T> |
getItems(int start,
int end) |
int |
getRows()
This must return the total #of rows in this table.
|
void |
refresh() |
void |
removeChangeListener(ITableModelListener<T> l) |
static final int DEFAULT_MAX_SIZE
static final int IN_MEMORY_FILTER_OR_SORT_MAX_SIZE
int getRows()
throws Exception
Exceptionvoid addChangeListener(@Nonnull ITableModelListener<T> l)
void removeChangeListener(@Nonnull ITableModelListener<T> l)
void refresh()
Copyright © 2017 etc.to. All rights reserved.