public class ListWrapper<T> extends ListWrapper<T>
Modifier and Type | Field and Description |
---|---|
protected IEventPublisher |
publisher
The event publisher.
|
delegate
Constructor and Description |
---|
ListWrapper(java.util.List<T> delegate,
IInternalAccess agent,
EventType addevent,
EventType remevent,
EventType changeevent,
MElement melem)
Create a new list wrapper.
|
ListWrapper(java.util.List<T> delegate,
IInternalAccess agent,
java.lang.String addevent,
java.lang.String remevent,
java.lang.String changeevent,
MElement melem)
Create a new list wrapper.
|
Modifier and Type | Method and Description |
---|---|
void |
entryAdded(T value,
int index)
An entry was added to the collection.
|
void |
entryChanged(T oldvalue,
T newvalue,
int index)
An entry was changed in the collection.
|
void |
entryRemoved(T value,
int index)
An entry was removed from the collection.
|
boolean |
isInitWrite() |
void |
setAgent(IInternalAccess agent) |
add, addAll, get, getList, indexOf, lastIndexOf, listIterator, listIterator, remove, set, subList
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
protected IEventPublisher publisher
public ListWrapper(java.util.List<T> delegate, IInternalAccess agent, java.lang.String addevent, java.lang.String remevent, java.lang.String changeevent, MElement melem)
public ListWrapper(java.util.List<T> delegate, IInternalAccess agent, EventType addevent, EventType remevent, EventType changeevent, MElement melem)
public void setAgent(IInternalAccess agent)
public boolean isInitWrite()
public void entryAdded(T value, int index)
entryAdded
in class CollectionWrapper<T>
public void entryRemoved(T value, int index)
entryRemoved
in class CollectionWrapper<T>
public void entryChanged(T oldvalue, T newvalue, int index)
entryChanged
in class CollectionWrapper<T>