Package org.reactfx.collection
Class ChangeObserverWrapper<T>
- java.lang.Object
-
- org.reactfx.util.WrapperBase<java.util.function.Consumer<? super ListChange<? extends T>>>
-
- org.reactfx.collection.ChangeObserverWrapper<T>
-
- All Implemented Interfaces:
LiveList.Observer<T,QuasiListChange<? extends T>>
,LiveList.QuasiChangeObserver<T>
class ChangeObserverWrapper<T> extends WrapperBase<java.util.function.Consumer<? super ListChange<? extends T>>> implements LiveList.QuasiChangeObserver<T>
-
-
Constructor Summary
Constructors Constructor Description ChangeObserverWrapper(javafx.collections.ObservableList<T> list, java.util.function.Consumer<? super ListChange<? extends T>> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onChange(QuasiListChange<? extends T> change)
-
Methods inherited from class org.reactfx.util.WrapperBase
equals, getWrappedValue, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.reactfx.collection.LiveList.QuasiChangeObserver
headOf, sizeOf, tailOf
-
-
-
-
Field Detail
-
list
private final javafx.collections.ObservableList<T> list
-
-
Constructor Detail
-
ChangeObserverWrapper
ChangeObserverWrapper(javafx.collections.ObservableList<T> list, java.util.function.Consumer<? super ListChange<? extends T>> delegate)
-
-
Method Detail
-
onChange
public void onChange(QuasiListChange<? extends T> change)
- Specified by:
onChange
in interfaceLiveList.Observer<T,QuasiListChange<? extends T>>
-
-