E
- the type of elements in the list where the change occurredpublic class ListAddEvent<E> extends ListMultipleChangesEvent<E>
List
.ListChangeListener
,
ObservableList
,
Serialized FormConstructor and Description |
---|
ListAddEvent(java.util.List<E> source,
int index,
java.util.Collection<? extends E> addElements)
Creates a new instance of this class.
|
ListAddEvent(java.util.List<E> source,
int index,
E affectedElement)
Creates a new event object.
|
getAffectedElement, getAffectedElements
getIndex, getSource, getType
public ListAddEvent(java.util.List<E> source, int index, java.util.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(java.util.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