E - the type of the elements in this change eventpublic class ListChangeEvent<E> extends ObservableEvent
IObservableList object.| Modifier and Type | Field and Description |
|---|---|
ListDiff<E> |
diff
Description of the change to the source observable list.
|
source| Constructor and Description |
|---|
ListChangeEvent(IObservableList<E> source,
ListDiff<E> diff)
Creates a new list change event.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatch(IObservablesListener listener)
Dispatch this event to the given listener.
|
protected Object |
getListenerType()
Returns a unique object used for distinguishing this event type from
others.
|
IObservableList<E> |
getObservableList()
Returns the observable list from which this event originated.
|
getObservablegetSource, toStringpublic ListChangeEvent(IObservableList<E> source, ListDiff<E> diff)
source - the source observable listdiff - the list changepublic IObservableList<E> getObservableList()
protected void dispatch(IObservablesListener listener)
ObservableEventdispatch in class ObservableEventlistener - the listener that should handle the eventprotected Object getListenerType()
ObservableEventgetListenerType in class ObservableEvent
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.