public abstract class SimpleKeyModel<T,P> extends TableModelBase<T> implements ITableModel<T>
DEFAULT_MAX_SIZE, IN_MEMORY_FILTER_OR_SORT_MAX_SIZE| Constructor and Description |
|---|
SimpleKeyModel() |
SimpleKeyModel(List<P> in) |
| Modifier and Type | Method and Description |
|---|---|
T |
getItem(int ix) |
abstract T |
getItemForKey(P key) |
List<T> |
getItems(int start,
int end) |
List<P> |
getKeyList() |
int |
getRows()
This must return the total #of rows in this table.
|
addChangeListener, fireAdded, fireDeleted, fireModelChanged, fireModified, getListeners, refresh, removeChangeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddChangeListener, refresh, removeChangeListenerpublic T getItem(int ix) throws Exception
getItem in class TableModelBase<T>Exception@Nonnull public List<T> getItems(int start, int end) throws Exception
getItems in interface ITableModel<T>Exceptionpublic int getRows()
throws Exception
ITableModelgetRows in interface ITableModel<T>ExceptionCopyright © 2017 etc.to. All rights reserved.