|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.elca.el4j.services.gui.model.mixin.ObservableFilteredList<E>
E - the type of the list itemspublic class ObservableFilteredList<E>
An observable filtered list.
Remark: Some convenience methods are not implemented such as listIterator() and subList(int, int).
| Constructor Summary | |
|---|---|
ObservableFilteredList(org.jdesktop.observablecollections.ObservableList<E> list,
Filter<E> filter)
|
|
| Method Summary | ||
|---|---|---|
boolean |
add(E o)
|
|
void |
add(int index,
E element)
|
|
boolean |
addAll(Collection<? extends E> c)
|
|
boolean |
addAll(int index,
Collection<? extends E> c)
|
|
void |
addObservableListListener(org.jdesktop.observablecollections.ObservableListListener listener)
|
|
void |
clear()
|
|
boolean |
contains(Object o)
|
|
boolean |
containsAll(Collection<?> c)
|
|
E |
get(int index)
|
|
Filter<E> |
getFilter()
|
|
int |
indexOf(Object o)
|
|
boolean |
isEmpty()
|
|
Iterator<E> |
iterator()
|
|
int |
lastIndexOf(Object o)
|
|
void |
listElementPropertyChanged(org.jdesktop.observablecollections.ObservableList list,
int index)
|
|
void |
listElementReplaced(org.jdesktop.observablecollections.ObservableList list,
int index,
Object oldElement)
|
|
void |
listElementsAdded(org.jdesktop.observablecollections.ObservableList list,
int index,
int length)
|
|
void |
listElementsRemoved(org.jdesktop.observablecollections.ObservableList list,
int index,
List oldElements)
|
|
ListIterator<E> |
listIterator()
|
|
ListIterator<E> |
listIterator(int index)
|
|
E |
remove(int index)
|
|
boolean |
remove(Object o)
|
|
boolean |
removeAll(Collection<?> c)
|
|
void |
removeObservableListListener(org.jdesktop.observablecollections.ObservableListListener listener)
|
|
boolean |
retainAll(Collection<?> c)
|
|
E |
set(int index,
E element)
|
|
void |
setFilter(Filter<E> filter)
|
|
int |
size()
|
|
List<E> |
subList(int fromIndex,
int toIndex)
|
|
boolean |
supportsElementPropertyChanged()
|
|
Object[] |
toArray()
|
|
|
toArray(T[] a)
|
|
String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public ObservableFilteredList(org.jdesktop.observablecollections.ObservableList<E> list,
Filter<E> filter)
list - the unfiltered listfilter - the filter to apply to the list| Method Detail |
|---|
public Filter<E> getFilter()
public void setFilter(Filter<E> filter)
filter - The new filter to apply. All iterators over this list also change the filter.public void addObservableListListener(org.jdesktop.observablecollections.ObservableListListener listener)
addObservableListListener in interface org.jdesktop.observablecollections.ObservableList<E>public void removeObservableListListener(org.jdesktop.observablecollections.ObservableListListener listener)
removeObservableListListener in interface org.jdesktop.observablecollections.ObservableList<E>public boolean supportsElementPropertyChanged()
supportsElementPropertyChanged in interface org.jdesktop.observablecollections.ObservableList<E>
public void listElementsAdded(org.jdesktop.observablecollections.ObservableList list,
int index,
int length)
listElementsAdded in interface org.jdesktop.observablecollections.ObservableListListener
public void listElementsRemoved(org.jdesktop.observablecollections.ObservableList list,
int index,
List oldElements)
listElementsRemoved in interface org.jdesktop.observablecollections.ObservableListListener
public void listElementReplaced(org.jdesktop.observablecollections.ObservableList list,
int index,
Object oldElement)
listElementReplaced in interface org.jdesktop.observablecollections.ObservableListListener
public void listElementPropertyChanged(org.jdesktop.observablecollections.ObservableList list,
int index)
listElementPropertyChanged in interface org.jdesktop.observablecollections.ObservableListListenerpublic boolean add(E o)
add in interface Collection<E>add in interface List<E>
public void add(int index,
E element)
add in interface List<E>public boolean addAll(Collection<? extends E> c)
addAll in interface Collection<E>addAll in interface List<E>
public boolean addAll(int index,
Collection<? extends E> c)
addAll in interface List<E>public void clear()
clear in interface Collection<E>clear in interface List<E>public boolean contains(Object o)
contains in interface Collection<E>contains in interface List<E>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<E>containsAll in interface List<E>public E get(int index)
get in interface List<E>public int indexOf(Object o)
indexOf in interface List<E>public boolean isEmpty()
isEmpty in interface Collection<E>isEmpty in interface List<E>public Iterator<E> iterator()
iterator in interface Iterable<E>iterator in interface Collection<E>iterator in interface List<E>public int lastIndexOf(Object o)
lastIndexOf in interface List<E>public ListIterator<E> listIterator()
listIterator in interface List<E>public ListIterator<E> listIterator(int index)
listIterator in interface List<E>public boolean remove(Object o)
remove in interface Collection<E>remove in interface List<E>public E remove(int index)
remove in interface List<E>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<E>removeAll in interface List<E>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<E>retainAll in interface List<E>
public E set(int index,
E element)
set in interface List<E>public int size()
size in interface Collection<E>size in interface List<E>
public List<E> subList(int fromIndex,
int toIndex)
subList in interface List<E>public Object[] toArray()
toArray in interface Collection<E>toArray in interface List<E>public <T> T[] toArray(T[] a)
toArray in interface Collection<E>toArray in interface List<E>public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||