Package groovy.swing.impl
Class ListWrapperListModel<E>
- java.lang.Object
- 
- javax.swing.AbstractListModel
- 
- groovy.swing.impl.ListWrapperListModel<E>
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- javax.swing.ListModel
 
 public class ListWrapperListModel<E> extends javax.swing.AbstractListModelAListModelimplementation that's backed by a liveList.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description ListWrapperListModel(java.util.List<E> delegateList)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int i, E e)booleanadd(E e)booleanaddAll(int i, java.util.Collection<? extends E> es)booleanaddAll(java.util.Collection<? extends E> es)voidclear()booleancontains(java.lang.Object o)booleancontainsAll(java.util.Collection<?> objects)Eget(int i)java.util.List<E>getDelegateList()java.lang.ObjectgetElementAt(int i)intgetSize()intindexOf(java.lang.Object o)booleanisEmpty()java.util.Iterator<E>iterator()intlastIndexOf(java.lang.Object o)java.util.ListIterator<E>listIterator()java.util.ListIterator<E>listIterator(int i)Eremove(int i)booleanremove(java.lang.Object o)voidremoveRange(int fromIndex, int toIndex)Eset(int i, E e)java.lang.Object[]toArray()<T> T[]toArray(T[] ts)
 
- 
- 
- 
Constructor Detail- 
ListWrapperListModelpublic ListWrapperListModel(java.util.List<E> delegateList) 
 
- 
 - 
Method Detail- 
getDelegateListpublic java.util.List<E> getDelegateList() 
 - 
getSizepublic int getSize() 
 - 
getElementAtpublic java.lang.Object getElementAt(int i) 
 - 
clearpublic void clear() 
 - 
lastIndexOfpublic int lastIndexOf(java.lang.Object o) 
 - 
containspublic boolean contains(java.lang.Object o) 
 - 
listIteratorpublic java.util.ListIterator<E> listIterator() 
 - 
isEmptypublic boolean isEmpty() 
 - 
indexOfpublic int indexOf(java.lang.Object o) 
 - 
addpublic void add(int i, E e)
 - 
iteratorpublic java.util.Iterator<E> iterator() 
 - 
addAllpublic boolean addAll(java.util.Collection<? extends E> es) 
 - 
removepublic E remove(int i) 
 - 
addAllpublic boolean addAll(int i, java.util.Collection<? extends E> es)
 - 
listIteratorpublic java.util.ListIterator<E> listIterator(int i) 
 - 
containsAllpublic boolean containsAll(java.util.Collection<?> objects) 
 - 
removepublic boolean remove(java.lang.Object o) 
 - 
addpublic boolean add(E e) 
 - 
getpublic E get(int i) 
 - 
toArraypublic <T> T[] toArray(T[] ts) 
 - 
toArraypublic java.lang.Object[] toArray() 
 - 
removeRangepublic void removeRange(int fromIndex, int toIndex)
 
- 
 
-