|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IListChangeEvent<T>
This is used in conjunction with IListChangeListener
. It contains the information
regarding the content of a list being changed.
Nested Class Summary | |
---|---|
static class |
IListChangeEvent.EventType
This enumeration lists the possible modification a list can have. |
Method Summary | ||
---|---|---|
int |
getEndIndex()
Returns the index of where the change occurred in the list. |
|
IListChangeEvent.EventType |
getEventType()
Returns the type of change that occurred in the list. |
|
java.util.List<T> |
getList()
Returns a copy of the actual list after the change has happened. |
|
java.lang.String |
getListName()
Returns the name describing the list. |
|
|
getSource()
Returns the source where the modification occurred and that fired the event. |
|
int |
getStartIndex()
Returns the index of where the change occurred in the list. |
|
IterableListIterator<T> |
items()
Returns the list of items that have caused the original list to change. |
|
int |
itemsSize()
Returns the number of items that caused the original list to change. |
Method Detail |
---|
int getEndIndex()
IListChangeEvent.EventType getEventType()
types
of changesjava.util.List<T> getList()
java.lang.String getListName()
IListChangeListeners
have
been registered with the source to be notified upon changes<S extends ListHolderStateObject<? extends T>> S getSource()
S
- The type of the source owning the list
int getStartIndex()
IterableListIterator<T> items()
IListChangeEvent.EventType.ADDED
);
IListChangeEvent.EventType.REMOVED
);
IListChangeEvent.EventType.MOVED_UP
);
IListChangeEvent.EventType.MOVED_DOWN
);
IListChangeEvent.EventType.REPLACED
);
IListChangeEvent.EventType.CHANGED
).
IListChangeEvent.EventType
int itemsSize()
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |