A ListModel
implementation that's backed by a live List
.
Constructor and description |
---|
ListWrapperListModel
(List<E> delegateList) |
Type | Name and description |
---|---|
void |
add(int i, E e) |
boolean |
add(E e) |
boolean |
addAll(Collection<? extends E> es) |
boolean |
addAll(int i, Collection<? extends E> es) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> objects) |
E |
get(int i) |
List<E> |
getDelegateList() |
Object |
getElementAt(int i) |
int |
getSize() |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<E> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<E> |
listIterator() |
ListIterator<E> |
listIterator(int i) |
E |
remove(int i) |
boolean |
remove(Object o) |
void |
removeRange(int fromIndex, int toIndex) |
E |
set(int i, E e) |
T[] |
toArray(T[] ts) |
Object[] |
toArray() |
Methods inherited from class | Name |
---|---|
class AbstractListModel |
addListDataListener, removeListDataListener, getListDataListeners, getListeners, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, getElementAt, getSize |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Copyright © 2003-2015 The Apache Software Foundation. All rights reserved.