public class ObservableCollection<T> extends ArrayList<T> implements IProvideCollectionChangedEvent
modCount
Constructor and Description |
---|
ObservableCollection() |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
T element) |
boolean |
add(T e) |
boolean |
addAll(Collection<? extends T> c) |
boolean |
addAll(int index,
Collection<? extends T> c) |
void |
clear() |
Event |
getCollectionChangedEvent() |
void |
Move(int sourceIndex,
int destIndex)
Moves a collection element from the index sourceIndex to the index destIndex
|
protected void |
OnCollectionChanged() |
protected void |
OnCollectionChanged(NotifyCollectionChangedEventArgs e) |
boolean |
remove(Object o) |
T |
set(int index,
T element) |
clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, removeRange, retainAll, size, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
public void Move(int sourceIndex, int destIndex)
sourceIndex
- destIndex
- protected void OnCollectionChanged()
protected void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
public Event getCollectionChangedEvent()
getCollectionChangedEvent
in interface IProvideCollectionChangedEvent
public boolean add(T e)
public void add(int index, T element)
public boolean remove(Object o)
public void clear()
public boolean addAll(Collection<? extends T> c)
Copyright © 2012. All Rights Reserved.