E
- The type of elements in the changed ObservableCollection
.public final class CollectionChangedEventArgs<E> extends java.lang.Object implements ICleanable
ObservableCollection
.Modifier and Type | Class and Description |
---|---|
static class |
CollectionChangedEventArgs.Action
Defines an enumeration with collection changed types.
|
Constructor and Description |
---|
CollectionChangedEventArgs() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the current state of this object
|
boolean |
equals(java.lang.Object o) |
CollectionChangedEventArgs.Action |
getAction()
Gets the action that caused the event.
|
int |
getNewIndex()
Gets the index at which the change occurred.
|
java.util.List<E> |
getNewItems()
Gets the list of new items involved in the change.
|
int |
getOldIndex()
Gets the index at which the change occurred.
|
java.util.List<E> |
getOldItems()
Gets the old items which were removed or replaced in this change.
|
int |
hashCode() |
java.lang.String |
toString() |
public final java.util.List<E> getOldItems()
public final java.util.List<E> getNewItems()
public final CollectionChangedEventArgs.Action getAction()
public final int getOldIndex()
public final int getNewIndex()
public void clear()
clear
in interface ICleanable
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object