Class BaseObservableListDelegate<E>
- java.lang.Object
-
- org.reactfx.ObservableBase<org.reactfx.collection.LiveList.Observer<? super E,?>,org.reactfx.collection.QuasiListChange<? extends E>>
-
- org.reactfx.collection.LiveListBase<E>
-
- net.sourceforge.pmd.util.fxdesigner.util.reactfx.BaseObservableListDelegate<E>
-
- Type Parameters:
E
-
- All Implemented Interfaces:
Iterable<E>
,Collection<E>
,List<E>
,javafx.beans.Observable
,javafx.collections.ObservableList<E>
,org.reactfx.collection.LiveList<E>
,org.reactfx.collection.ProperLiveList<E>
,org.reactfx.Observable<org.reactfx.collection.LiveList.Observer<? super E,?>>
,org.reactfx.ProperObservable<org.reactfx.collection.LiveList.Observer<? super E,?>,org.reactfx.collection.QuasiListChange<? extends E>>
- Direct Known Subclasses:
FakeTailObservableList
,ObservableTickList
public abstract class BaseObservableListDelegate<E> extends org.reactfx.collection.LiveListBase<E>
An observable list that has all the elements of the base list + 1 special element at the end.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.reactfx.collection.LiveList
org.reactfx.collection.LiveList.Observer<E extends Object,O extends Object>, org.reactfx.collection.LiveList.QuasiChangeObserver<E extends Object>, org.reactfx.collection.LiveList.QuasiModificationObserver<E extends Object>
-
-
Constructor Summary
Constructors Constructor Description BaseObservableListDelegate(javafx.collections.ObservableList<E> base)
-
Method Summary
All Methods Instance Methods Concrete Methods Default Methods Modifier and Type Method Description void
add(int index, E element)
boolean
add(E e)
boolean
addAll(int index, Collection<? extends E> c)
boolean
addAll(Collection<? extends E> c)
void
clear()
default boolean
contains(Object arg0)
default boolean
containsAll(Collection<?> arg0)
E
get(int index)
default int
indexOf(Object arg0)
default boolean
isEmpty()
default Iterator<E>
iterator()
default int
lastIndexOf(Object arg0)
default ListIterator<E>
listIterator()
default ListIterator<E>
listIterator(int arg0)
E
remove(int index)
void
remove(int from, int to)
boolean
remove(Object o)
boolean
removeAll(Collection<?> c)
boolean
retainAll(Collection<?> c)
E
set(int index, E element)
int
size()
default List<E>
subList(int arg0, int arg1)
default Object[]
toArray()
default <T extends Object>
T[]toArray(T[] arg0)
-
Methods inherited from class org.reactfx.ObservableBase
addObserver, enqueueNotifications, equals, forEachObserver, getObserverCount, hashCode, isObservingInputs, newObserver, notifyObservers, notifyObservers, observe, observeInputs, removeObserver, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
Methods inherited from interface org.reactfx.collection.LiveList
addChangeObserver, addListener, addListener, addModificationObserver, addQuasiChangeObserver, addQuasiModificationObserver, changes, collapse, collapseDynamic, map, mapDynamic, memoize, modifications, observeChanges, observeModifications, observeQuasiChanges, observeQuasiModifications, pin, quasiChanges, quasiModifications, reduce, reduceRange, removeChangeObserver, removeListener, removeListener, removeModificationObserver, removeQuasiChangeObserver, removeQuasiModificationObserver, sizeProperty, suspendable
-
Methods inherited from interface javafx.collections.ObservableList
addAll, filtered, removeAll, retainAll, setAll, setAll, sorted, sorted
-
Methods inherited from interface org.reactfx.collection.ProperLiveList
contentReplacement, defaultEquals, defaultHashCode, defaultNotificationAccumulator, defaultToString, fireContentReplacement, fireElemInsertion, fireElemRemoval, fireElemReplacement, fireModification, fireRangeInsertion, fireRemoveRange
-
-
-
-
Field Detail
-
base
protected final javafx.collections.ObservableList<E> base
-
-
Constructor Detail
-
BaseObservableListDelegate
public BaseObservableListDelegate(javafx.collections.ObservableList<E> base)
-
-
Method Detail
-
size
public int size()
-
add
public boolean add(E e)
-
remove
public boolean remove(Object o)
-
addAll
public boolean addAll(Collection<? extends E> c)
-
addAll
public boolean addAll(int index, Collection<? extends E> c)
-
removeAll
public boolean removeAll(Collection<?> c)
-
retainAll
public boolean retainAll(Collection<?> c)
-
clear
public void clear()
-
get
public E get(int index)
-
add
public void add(int index, E element)
-
remove
public E remove(int index)
-
remove
public void remove(int from, int to)
-
isEmpty
public default boolean isEmpty()
-
indexOf
public default int indexOf(Object arg0)
-
lastIndexOf
public default int lastIndexOf(Object arg0)
- Specified by:
lastIndexOf
in interfaceList<E extends Object>
-
contains
public default boolean contains(Object arg0)
-
containsAll
public default boolean containsAll(Collection<?> arg0)
- Specified by:
containsAll
in interfaceCollection<E extends Object>
- Specified by:
containsAll
in interfaceList<E extends Object>
-
iterator
public default Iterator<E> iterator()
-
listIterator
public default ListIterator<E> listIterator()
- Specified by:
listIterator
in interfaceList<E extends Object>
-
listIterator
public default ListIterator<E> listIterator(int arg0)
- Specified by:
listIterator
in interfaceList<E extends Object>
-
subList
public default List<E> subList(int arg0, int arg1)
-
toArray
public default Object[] toArray()
-
-