public class MemoryRowsModel<T> extends AbstractListModel implements TypedListModel<T>, PropertyChangeListener
| Modifier and Type | Field and Description |
|---|---|
protected List<T> |
content |
protected AmbitRows<T> |
rows |
listenerList| Constructor and Description |
|---|
MemoryRowsModel(AmbitRows<T> rows) |
| Modifier and Type | Method and Description |
|---|---|
T |
getElementAt(int index) |
int |
getSize() |
void |
prepareList() |
void |
propertyChange(PropertyChangeEvent evt) |
void |
remove() |
protected void |
rows2List() |
void |
updateProfile(Profile profile) |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListDataListener, removeListDataListenerpublic void prepareList()
public void updateProfile(Profile profile)
protected void rows2List()
public T getElementAt(int index)
getElementAt in interface TypedListModel<T>getElementAt in interface ListModelpublic void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerpublic void remove()
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.