public class ObservableListDecorator<E> extends java.lang.Object implements ListDecorator<E>, ObservableList<E>
ObservableList.Change<E>| Constructor and Description |
|---|
ObservableListDecorator(java.util.List<E> component) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E e) |
void |
add(int index,
E element) |
boolean |
addAll(java.util.Collection<? extends E> c) |
boolean |
addAll(int index,
java.util.Collection<? extends E> c) |
protected boolean |
beginChange() |
HotObservable<ObservableList.Change<E>> |
changes() |
protected boolean |
endChange() |
boolean |
equals(java.lang.Object obj) |
protected void |
fireChange(ObservableList.Change<E> change) |
protected void |
fireEvent() |
java.util.List<E> |
getComponent() |
int |
hashCode() |
Observable<? extends ObservableCollection<E,ObservableList.Change<E>>> |
invalidations() |
E |
remove(int index) |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
retainAll(java.util.Collection<?> c) |
E |
set(int index,
E element) |
java.util.List<E> |
silent()
Get a view of the collection which can be mutated without triggering events.
|
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitclear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, over, size, subList, toArray, toArraysynchronizedView, unmodifiableViewpublic ObservableListDecorator(java.util.List<E> component)
public java.util.List<E> getComponent()
getComponent in interface CollectionDecorator<java.util.List<E>,E>getComponent in interface ListDecorator<E>protected boolean beginChange()
protected boolean endChange()
protected void fireChange(ObservableList.Change<E> change)
protected void fireEvent()
public Observable<? extends ObservableCollection<E,ObservableList.Change<E>>> invalidations()
invalidations in interface ObservableCollection<E,ObservableList.Change<E>>public boolean add(E e)
add in interface java.util.Collection<E>add in interface java.util.List<E>add in interface CollectionDecorator<java.util.List<E>,E>add in interface ListDecorator<E>public void add(int index,
E element)
add in interface java.util.List<E>add in interface ListDecorator<E>public boolean remove(java.lang.Object o)
remove in interface java.util.Collection<E>remove in interface java.util.List<E>remove in interface CollectionDecorator<java.util.List<E>,E>remove in interface ListDecorator<E>public E remove(int index)
remove in interface java.util.List<E>remove in interface ListDecorator<E>public E set(int index, E element)
set in interface java.util.List<E>set in interface ListDecorator<E>public boolean addAll(java.util.Collection<? extends E> c)
addAll in interface java.util.Collection<E>addAll in interface java.util.List<E>addAll in interface CollectionDecorator<java.util.List<E>,E>addAll in interface ListDecorator<E>public boolean addAll(int index,
java.util.Collection<? extends E> c)
addAll in interface java.util.List<E>addAll in interface ListDecorator<E>public boolean removeAll(java.util.Collection<?> c)
removeAll in interface java.util.Collection<E>removeAll in interface java.util.List<E>removeAll in interface CollectionDecorator<java.util.List<E>,E>removeAll in interface ListDecorator<E>public boolean retainAll(java.util.Collection<?> c)
retainAll in interface java.util.Collection<E>retainAll in interface java.util.List<E>retainAll in interface CollectionDecorator<java.util.List<E>,E>retainAll in interface ListDecorator<E>public HotObservable<ObservableList.Change<E>> changes()
changes in interface ObservableCollection<E,ObservableList.Change<E>>public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
public boolean equals(java.lang.Object obj)
public java.util.List<E> silent()
ObservableCollectionsilent in interface ObservableCollection<E,ObservableList.Change<E>>silent in interface ObservableList<E>