E
- the type of elements in the list where the change occurredpublic class ListAddEvent<E> extends ListMultipleChangesEvent<E>
List
.ListChangeListener
,
ObservableList
,
Serialized Formsource
Constructor and Description |
---|
ListAddEvent(List<E> source,
int index,
Collection<? extends E> addElements)
Creates a new instance of this class.
|
ListAddEvent(List<E> source,
int index,
E affectedElement)
Creates a new event object.
|
getAffectedElement, getAffectedElements
getIndex, getSource, getType
toString
public ListAddEvent(List<E> source, int index, Collection<? extends E> addElements)
source
- the list instance that has been modifiedindex
- the index the first affected element has in the listaddElements
- a list of elements that have been insertedpublic ListAddEvent(List<E> source, int index, E affectedElement)
source
- the list instance that has been modifiedindex
- the index the first affected element has in the listaffectedElement
- a list of elements that have been inserted