public abstract class AbstractObjectListComponentModel<T> extends AbstractListModel<T> implements IListModel<T>
listenerList| Constructor and Description |
|---|
AbstractObjectListComponentModel(List<T> objects) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(T... objects) |
void |
addListModelListener(net.anwiba.commons.model.IChangeableListListener<T> listener) |
protected void |
fireObjectAdded(Iterable<T> objects) |
protected void |
fireObjectRemoved(Iterable<T> objects) |
T |
getElementAt(int index) |
int[] |
getIndicesOf(List<T> objects) |
T |
getObject(int index) |
int |
getSize() |
Iterator<T> |
iterator() |
void |
remove(T... objects) |
void |
removeAll() |
void |
removeListModelListener(net.anwiba.commons.model.IChangeableListListener<T> listener) |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListDataListener, removeListDataListenerforEach, spliteratorpublic void add(T... objects)
public void remove(T... objects)
public void removeAll()
public T getObject(int index)
getObject in interface IListModel<T>public T getElementAt(int index)
getElementAt in interface ListModel<T>public int[] getIndicesOf(List<T> objects)
getIndicesOf in interface IListModel<T>public final void addListModelListener(net.anwiba.commons.model.IChangeableListListener<T> listener)
addListModelListener in interface IListModel<T>public final void removeListModelListener(net.anwiba.commons.model.IChangeableListListener<T> listener)
removeListModelListener in interface IListModel<T>Copyright © 2007–2018 Andreas W. Bartels. All rights reserved.