Package groovy.swing.impl
Class ListWrapperListModel<E>
- java.lang.Object
- 
- javax.swing.AbstractListModel
- 
- groovy.swing.impl.ListWrapperListModel<E>
 
 
- 
- All Implemented Interfaces:
- Serializable,- ListModel
 
 public class ListWrapperListModel<E> extends AbstractListModel AListModelimplementation that's backed by a liveList.- See Also:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from class javax.swing.AbstractListModellistenerList
 
- 
 - 
Constructor SummaryConstructors Constructor Description ListWrapperListModel(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, Collection<? extends E> es)booleanaddAll(Collection<? extends E> es)voidclear()booleancontains(Object o)booleancontainsAll(Collection<?> objects)Eget(int i)List<E>getDelegateList()ObjectgetElementAt(int i)intgetSize()intindexOf(Object o)booleanisEmpty()Iterator<E>iterator()intlastIndexOf(Object o)ListIterator<E>listIterator()ListIterator<E>listIterator(int i)Eremove(int i)booleanremove(Object o)voidremoveRange(int fromIndex, int toIndex)Eset(int i, E e)Object[]toArray()<T> T[]toArray(T[] ts)- 
Methods inherited from class javax.swing.AbstractListModeladdListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
 
- 
 
- 
- 
- 
Method Detail- 
getSizepublic int getSize() 
 - 
getElementAtpublic Object getElementAt(int i) 
 - 
clearpublic void clear() 
 - 
lastIndexOfpublic int lastIndexOf(Object o) 
 - 
containspublic boolean contains(Object o) 
 - 
listIteratorpublic ListIterator<E> listIterator() 
 - 
isEmptypublic boolean isEmpty() 
 - 
indexOfpublic int indexOf(Object o) 
 - 
addpublic void add(int i, E e)
 - 
addAllpublic boolean addAll(Collection<? extends E> es) 
 - 
removepublic E remove(int i) 
 - 
addAllpublic boolean addAll(int i, Collection<? extends E> es)
 - 
listIteratorpublic ListIterator<E> listIterator(int i) 
 - 
containsAllpublic boolean containsAll(Collection<?> objects) 
 - 
removepublic boolean remove(Object o) 
 - 
addpublic boolean add(E e) 
 - 
getpublic E get(int i) 
 - 
toArraypublic <T> T[] toArray(T[] ts) 
 - 
toArraypublic Object[] toArray() 
 - 
removeRangepublic void removeRange(int fromIndex, int toIndex)
 
- 
 
-