Package com.jadice.web.util.glazedlists
Class GwtEventList<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<E>
com.jadice.web.util.glazedlists.GwtEventList<E>
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<E>
,Collection<E>
,List<E>
,RandomAccess
,SequencedCollection<E>
,org.jadice.util.glazedlists.EventList<E>
public class GwtEventList<E>
extends ArrayList<E>
implements org.jadice.util.glazedlists.EventList<E>
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
boolean
addAll
(int index, Collection<? extends E> c) boolean
addAll
(Collection<? extends E> c) void
addListEventListener
(org.jadice.util.glazedlists.event.ListEventListener<? super E> listChangeListener) void
clear()
void
dispose()
org.jadice.util.glazedlists.event.ListEventPublisher
remove
(int index) boolean
boolean
removeAll
(Collection<?> c) void
removeListEventListener
(org.jadice.util.glazedlists.event.ListEventListener<? super E> listChangeListener) Methods inherited from class java.util.ArrayList
addFirst, addLast, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, size, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
addFirst, addLast, contains, containsAll, equals, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeFirst, removeLast, replaceAll, retainAll, reversed, size, sort, spliterator, subList, toArray, toArray
-
Constructor Details
-
GwtEventList
public GwtEventList()
-
-
Method Details
-
addListEventListener
public void addListEventListener(org.jadice.util.glazedlists.event.ListEventListener<? super E> listChangeListener) - Specified by:
addListEventListener
in interfaceorg.jadice.util.glazedlists.EventList<E>
-
removeListEventListener
public void removeListEventListener(org.jadice.util.glazedlists.event.ListEventListener<? super E> listChangeListener) - Specified by:
removeListEventListener
in interfaceorg.jadice.util.glazedlists.EventList<E>
-
add
- Specified by:
add
in interfaceCollection<E>
- Specified by:
add
in interfaceList<E>
- Overrides:
add
in classArrayList<E>
- Parameters:
e
- The element to be added- Returns:
true
(as specified byCollection.add(E)
)
-
add
-
addAll
-
addAll
-
remove
-
removeAll
-
remove
-
set
-
getPublisher
public org.jadice.util.glazedlists.event.ListEventPublisher getPublisher()- Specified by:
getPublisher
in interfaceorg.jadice.util.glazedlists.EventList<E>
-
dispose
public void dispose()- Specified by:
dispose
in interfaceorg.jadice.util.glazedlists.EventList<E>
-
getReadWriteLock
- Specified by:
getReadWriteLock
in interfaceorg.jadice.util.glazedlists.EventList<E>
-
clear
public void clear()
-