Class ValAsList<T>
java.lang.Object
org.reactfx.ObservableBase<LiveList.Observer<? super T, ?>, QuasiListChange<? extends T>>
org.reactfx.collection.LiveListBase<T>
org.reactfx.collection.ValAsList<T>
- All Implemented Interfaces:
Iterable<T>, Collection<T>, List<T>, SequencedCollection<T>, javafx.beans.Observable, javafx.collections.ObservableList<T>, AccessorListMethods<T>, LiveList<T>, ProperLiveList<T>, UnmodifiableByDefaultList<T>, UnmodifiableByDefaultLiveList<T>, Observable<LiveList.Observer<? super T, ?>>, ProperObservable<LiveList.Observer<? super T, ?>, QuasiListChange<? extends T>>
-
Nested Class Summary
Nested classes/interfaces inherited from interface LiveList
LiveList.Observer<E,O>, LiveList.QuasiChangeObserver<E>, LiveList.QuasiModificationObserver<E> -
Property Summary
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(int index) protected SubscriptionStarts observing this observable's input(s), if any.intsize()Methods inherited from class ObservableBase
addObserver, enqueueNotifications, equals, forEachObserver, getObserverCount, hashCode, isObservingInputs, newObserver, notifyObservers, notifyObservers, observe, removeObserver, toStringMethods inherited from interface AccessorListMethods
contains, containsAll, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, subList, toArray, toArrayMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface List
addFirst, addLast, equals, getFirst, getLast, hashCode, removeFirst, removeLast, replaceAll, reversed, sort, spliteratorMethods inherited from interface 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, suspendableMethods inherited from interface Observable
addObserver, observe, removeObserverMethods inherited from interface javafx.collections.ObservableList
filtered, sorted, sortedMethods inherited from interface ProperLiveList
contentReplacement, defaultEquals, defaultHashCode, defaultNotificationAccumulator, defaultToString, fireContentReplacement, fireElemInsertion, fireElemRemoval, fireElemReplacement, fireModification, fireRangeInsertion, fireRemoveRangeMethods inherited from interface ProperObservable
notifyObservers
-
Field Details
-
underlying
-
-
Constructor Details
-
ValAsList
ValAsList(javafx.beans.value.ObservableValue<T> underlying)
-
-
Method Details
-
size
-
get
-
observeInputs
Description copied from class:ObservableBaseStarts observing this observable's input(s), if any. This method is called when the number of observers goes from 0 to 1. This method is called beforeObservableBase.newObserver(Object)is called for the first observer.- Specified by:
observeInputsin classObservableBase<LiveList.Observer<? super T, ?>, QuasiListChange<? extends T>>- Returns:
- subscription used to stop observing inputs. The subscription is unsubscribed (i.e. input observation stops) when the number of observers goes down to 0.
-