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