public class EventObservableList<E> extends AbstractList<E> implements javafx.collections.ObservableList<E>
EventList to ObservableList.
Reordering events are currently ignored.
modCount | Constructor and Description |
|---|
EventObservableList (ca.odell.glazedlists.EventList<E> delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add (E e) |
void |
add (int index,
E element) |
boolean |
addAll (Collection<? extends E> c) |
boolean |
addAll (E... elements) |
boolean |
addAll (int index,
Collection<? extends E> c) |
void |
addListener (javafx.beans.InvalidationListener listener) |
void |
addListener (javafx.collections.ListChangeListener<? super E> listener) |
void |
clear () |
boolean |
contains (Object o) |
boolean |
containsAll (Collection<?> c) |
void |
dispose ()
Disposing an EventList will make it eligible for garbage collection.
|
E |
get (int index) |
int |
indexOf (Object o) |
boolean |
isEmpty () |
Iterator<E> |
iterator () |
int |
lastIndexOf (Object o) |
ListIterator<E> |
listIterator () |
ListIterator<E> |
listIterator (int index) |
E |
remove (int index) |
void |
remove (int from,
int to) |
boolean |
remove (Object o) |
boolean |
removeAll (Collection<?> c) |
boolean |
removeAll (E... elements) |
void |
removeListener (javafx.beans.InvalidationListener listener) |
void |
removeListener (javafx.collections.ListChangeListener<? super E> listener) |
boolean |
retainAll (Collection<?> c) |
boolean |
retainAll (E... elements) |
E |
set (int index,
E element) |
boolean |
setAll (Collection<? extends E> elements) |
boolean |
setAll (E... elements) |
int |
size () |
List<E> |
subList (int fromIndex,
int toIndex) |
Object[] |
toArray () |
<T> T[] |
toArray (T[] a) |
equals, hashCode, removeRange toString clone, finalize, getClass, notify, notifyAll, wait, wait, wait filtered, sorted, sortedequals, hashCode, replaceAll, sort, spliterator parallelStream, removeIf, stream public void dispose()
Warning: It is an error
to call any method on an EventList after it has been disposed.
public void addListener(javafx.collections.ListChangeListener<? super E> listener)
addListener in interface javafx.collections.ObservableList<E>public void removeListener(javafx.collections.ListChangeListener<? super E> listener)
removeListener in interface javafx.collections.ObservableList<E>public void addListener(javafx.beans.InvalidationListener listener)
addListener in interface javafx.beans.Observablepublic void removeListener(javafx.beans.InvalidationListener listener)
removeListener in interface javafx.beans.Observablepublic boolean addAll(E... elements)
addAll in interface javafx.collections.ObservableList<E>public boolean setAll(E... elements)
setAll in interface javafx.collections.ObservableList<E>public boolean setAll(Collection<? extends E> elements)
setAll in interface javafx.collections.ObservableList<E>public boolean removeAll(E... elements)
removeAll in interface javafx.collections.ObservableList<E>public boolean retainAll(E... elements)
retainAll in interface javafx.collections.ObservableList<E>public boolean addAll(Collection<? extends E> c)
addAll in interface Collection<E>addAll in interface List<E>addAll in class AbstractCollection<E>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<E>removeAll in interface List<E>removeAll in class AbstractCollection<E>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<E>retainAll in interface List<E>retainAll in class AbstractCollection<E>public void remove(int from, int to)
remove in interface javafx.collections.ObservableList<E>public E get(int index)
public int size()
size in interface Collection<E>size in interface List<E>size in class AbstractCollection<E>public boolean isEmpty()
isEmpty in interface Collection<E>isEmpty in interface List<E>isEmpty in class AbstractCollection<E>public boolean contains(Object o)
contains in interface Collection<E>contains in interface List<E>contains in class AbstractCollection<E>public Object[] toArray()
toArray in interface Collection<E>toArray in interface List<E>toArray in class AbstractCollection<E>public <T> T[] toArray(T[] a)
toArray in interface Collection<E>toArray in interface List<E>toArray in class AbstractCollection<E>public boolean remove(Object o)
remove in interface Collection<E>remove in interface List<E>remove in class AbstractCollection<E>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<E>containsAll in interface List<E>containsAll in class AbstractCollection<E>public boolean add(E e)
add in interface Collection<E>add in interface List<E>add in class AbstractList<E>public void add(int index, E element)
public E remove(int index)
public int indexOf(Object o)
public int lastIndexOf(Object o)
lastIndexOf in interface List<E>lastIndexOf in class AbstractList<E>public void clear()
clear in interface Collection<E>clear in interface List<E>clear in class AbstractList<E>public boolean addAll(int index, Collection<? extends E> c)
public ListIterator<E> listIterator()
listIterator in interface List<E>listIterator in class AbstractList<E>public ListIterator<E> listIterator(int index)
listIterator in interface List<E>listIterator in class AbstractList<E>