ca.odell.glazedlists
Class CompositeList<E>
java.lang.Object
ca.odell.glazedlists.AbstractEventList<E>
ca.odell.glazedlists.TransformedList<S,E>
ca.odell.glazedlists.CollectionList<EventList<E>,E>
ca.odell.glazedlists.CompositeList<E>
- All Implemented Interfaces:
- ListEventListener<EventList<E>>, EventList<E>, Iterable<E>, Collection<E>, EventListener, List<E>
public class CompositeList<E>
- extends CollectionList<EventList<E>,E>
An EventList composed of multiple source EventLists. This list
shows the contents of its source lists.
Note that all contained EventLists must use the same ReadWriteLock
if this EventList is to be used my multiple threads concurrently. To
construct an EventList that shares the ReadWriteLock with this
CompositeList, use createMemberList() or
new BasicEventList(CompositeList.getReadWriteLock())
- Author:
- Jesse Wilson
| Methods inherited from class ca.odell.glazedlists.AbstractEventList |
add, addAll, addListEventListener, contains, containsAll, equals, getPublisher, getReadWriteLock, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeListEventListener, subList, toArray, toArray, toString |
CompositeList
public CompositeList()
addMemberList
public void addMemberList(EventList<E> list)
- Adds the specified
EventList as a source to this CompositeList.
createMemberList
public EventList<E> createMemberList()
- Creates a new
EventList that shares its ReadWriteLock with
this CompositeList. This is necessary when this CompositeList
will be used by multiple threads.
Note that the created EventList must be explicitly added as a member
to this CompositeList using addMemberList(EventList).
removeMemberList
public void removeMemberList(EventList<E> list)
- Removes the specified
EventList as a source EventList
to this CompositeList.
Glazed Lists 1.5.0, Copyright © 2003-2005 publicobject.com, O'Dell Engineering.
Documentation build by James Lemieux at 2005-12-21 23:25