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, removeListDataListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListDataListener, removeListDataListener
public void prepareList()
public void updateProfile(Profile profile)
protected void rows2List()
public T getElementAt(int index)
getElementAt
in interface TypedListModel<T>
getElementAt
in interface ListModel
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
public void remove()
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.