A ListModel implementation that's backed by a live List.
 
| Constructor and description | 
|---|
                                ListWrapperListModel
                                (List<E> delegateList) | 
                        
| Type Params | Return 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> | 
                            T[] | 
                            toArray(T[] ts) | 
                        
 | 
                            Object[] | 
                            toArray() | 
                        
| Methods inherited from class | Name | 
|---|---|
class AbstractListModel | 
                            addListDataListener, removeListDataListener, getListeners, getListDataListeners, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, getSize, getElementAt | 
                        
Copyright © 2003-2021 The Apache Software Foundation. All rights reserved.