Uses of Interface
org.reactfx.Subscription
-
Packages that use Subscription Package Description org.reactfx org.reactfx.collection org.reactfx.value -
-
Uses of Subscription in org.reactfx
Classes in org.reactfx that implement Subscription Modifier and Type Class Description (package private) classBiSubscription(package private) classMultiSubscriptionFields in org.reactfx declared as Subscription Modifier and Type Field Description static SubscriptionSubscription. EMPTYprivate SubscriptionObservableBase. inputSubscriptionprivate SubscriptionFlatMapStream. mappedSubscriptionprivate SubscriptionBiSubscription. s1private SubscriptionBiSubscription. s2private SubscriptionLimitedInvocationSubscriber. subscriptionprivate SubscriptionStreamBinding. subscriptionprivate Subscription[]MultiSubscription. subscriptionsFields in org.reactfx with type parameters of type Subscription Modifier and Type Field Description private MapHelper<EventStream<? extends T>,Subscription>ConnectableEventSource. subscriptionsMethods in org.reactfx that return Subscription Modifier and Type Method Description default SubscriptionSubscription. and(Subscription other)Returns a new aggregate subscription whoseunsubscribe()method callsunsubscribe()on both this subscription andothersubscription.protected SubscriptionSuspendableBoolean. connect()SubscriptionConnectable. connectTo(EventStream<? extends T> source)Connects this connectable object tosourceevent stream.SubscriptionConnectableEventSource. connectTo(EventStream<? extends T> input)static <T> SubscriptionSubscription. dynamic(javafx.collections.ObservableSet<T> elems, java.util.function.Function<? super T,? extends Subscription> f)Dynamically subscribes to all elements of the given observable set.default SubscriptionEventSink. feedFrom(EventStream<? extends T> source)Starts pushing all events emitted bysourceto this event sink.default SubscriptionEventStream. feedTo(javafx.beans.value.WritableValue<? super T> dest)Starts setting all events emitted by this stream as the value of the given writable value.default SubscriptionEventStream. feedTo(EventSink<? super T> sink)Starts pushing all events emitted by this stream to the given event sink.static <T> SubscriptionSubscription. multi(java.util.function.Function<? super T,? extends Subscription> f, java.util.Collection<T> elems)Subscribes to all elements of the given collection by the given function and returns an aggregate subscription that can be used to cancel all element subscriptions.static <T> SubscriptionSubscription. multi(java.util.function.Function<? super T,? extends Subscription> f, T... elems)Subscribes to all elements by the given function and returns an aggregate subscription that can be used to cancel all element subscriptions.static SubscriptionSubscription. multi(Subscription... subs)Returns a new aggregate subscription whoseunsubscribe()method callsunsubscribe()on all arguments to this method.default SubscriptionObservable. observe(O observer)SubscriptionObservableBase. observe(O observer)SubscriptionProxyObservable. observe(O observer)SubscriptionRigidObservable. observe(O observer)Returns an empty Subscription (EMPTY).protected SubscriptionAccumulateBetweenStream. observeInputs()protected SubscriptionAccumulateUntilLaterStream. observeInputs()protected SubscriptionAccumulatingStream. observeInputs()protected SubscriptionAwait. observeInputs()protected SubscriptionAwaitLatest. observeInputs()protected SubscriptionConnectableEventSource. observeInputs()protected SubscriptionDefaultEventStream. observeInputs()protected SubscriptionDistinctStream. observeInputs()protected SubscriptionEmitBothOnEachStream. observeInputs()protected SubscriptionEmitOnEachStream. observeInputs()protected SubscriptionEmitOnStream. observeInputs()protected SubscriptionEventSource. observeInputs()protected SubscriptionFilterMapStream. observeInputs()protected SubscriptionFilterStream. observeInputs()protected SubscriptionFlatMapOptStream. observeInputs()protected SubscriptionFlatMapStream. observeInputs()protected SubscriptionHookStream. observeInputs()protected SubscriptionLatestNStream. observeInputs()protected SubscriptionMappedStream. observeInputs()protected abstract SubscriptionObservableBase. observeInputs()Starts observing this observable's input(s), if any.protected SubscriptionRecursiveStream. observeInputs()protected SubscriptionRepeatOnStream. observeInputs()protected SubscriptionStatefulStream. observeInputs()protected SubscriptionStateStream. observeInputs()protected SubscriptionSuccessionReducingStream. observeInputs()protected SubscriptionSuspendableBase. observeInputs()protected SubscriptionSuspendedWhenStream. observeInputs()protected SubscriptionSuspenderStreamImpl. observeInputs()protected SubscriptionThenAccumulateForStream. observeInputs()protected SubscriptionThreadBridge. observeInputs()default SubscriptionEventStream. pin()If this stream is a compound stream lazily subscribed to its inputs, that is, subscribed to inputs only when it itself has some subscribers,pinning this stream causes it to stay subscribed until the pinning is revoked by callingunsubscribe()on the returned subscription.default SubscriptionEventStream. subscribe(java.util.function.Consumer<? super T> subscriber)Get notified every time this event stream emits a value.default SubscriptionEventStream. subscribeFor(int n, java.util.function.Consumer<? super T> subscriber)Subscribes to this event stream for at mostnevents.default SubscriptionEventStream. subscribeForOne(java.util.function.Consumer<? super T> subscriber)Shorthand forsubscribeFor(1, subscriber).(package private) SubscriptionLimitedInvocationSubscriber. subscribeTo(EventStream<? extends T> stream)private SubscriptionConnectableEventSource. subscribeToInput(EventStream<? extends T> input)SubscriptionInputHandler. subscribeToInput()default SubscriptionSuspendable. suspendWhen(javafx.beans.value.ObservableValue<java.lang.Boolean> condition)Methods in org.reactfx with parameters of type Subscription Modifier and Type Method Description default SubscriptionSubscription. and(Subscription other)Returns a new aggregate subscription whoseunsubscribe()method callsunsubscribe()on both this subscription andothersubscription.static SubscriptionSubscription. multi(Subscription... subs)Returns a new aggregate subscription whoseunsubscribe()method callsunsubscribe()on all arguments to this method.Method parameters in org.reactfx with type arguments of type Subscription Modifier and Type Method Description static <T> SubscriptionSubscription. dynamic(javafx.collections.ObservableSet<T> elems, java.util.function.Function<? super T,? extends Subscription> f)Dynamically subscribes to all elements of the given observable set.static <T> SubscriptionSubscription. multi(java.util.function.Function<? super T,? extends Subscription> f, java.util.Collection<T> elems)Subscribes to all elements of the given collection by the given function and returns an aggregate subscription that can be used to cancel all element subscriptions.static <T> SubscriptionSubscription. multi(java.util.function.Function<? super T,? extends Subscription> f, T... elems)Subscribes to all elements by the given function and returns an aggregate subscription that can be used to cancel all element subscriptions.Constructors in org.reactfx with parameters of type Subscription Constructor Description BiSubscription(Subscription s1, Subscription s2)MultiSubscription(Subscription... subscriptions) -
Uses of Subscription in org.reactfx.collection
Methods in org.reactfx.collection that return Subscription Modifier and Type Method Description protected SubscriptionListRangeReduction. connect()protected SubscriptionListReduction. connect()default SubscriptionLiveList. observeChanges(java.util.function.Consumer<? super ListChange<? extends E>> observer)static <E> SubscriptionLiveList. observeChanges(javafx.collections.ObservableList<E> list, java.util.function.Consumer<? super ListChange<? extends E>> observer)protected SubscriptionDynamicallyMappedList. observeInputs()protected SubscriptionLiveArrayList. observeInputs()protected SubscriptionMappedList. observeInputs()protected SubscriptionMemoizationListImpl.MemoizedView. observeInputs()protected SubscriptionMemoizationListImpl. observeInputs()protected SubscriptionValAsList. observeInputs()default SubscriptionLiveList. observeModifications(java.util.function.Consumer<? super ListModification<? extends E>> observer)static <E> SubscriptionLiveList. observeQuasiChanges(javafx.collections.ObservableList<? extends E> list, LiveList.QuasiChangeObserver<? super E> observer)default SubscriptionLiveList. observeQuasiChanges(LiveList.QuasiChangeObserver<? super E> observer)default SubscriptionLiveList. observeQuasiModifications(LiveList.QuasiModificationObserver<? super E> observer)default SubscriptionLiveList. pin() -
Uses of Subscription in org.reactfx.value
Fields in org.reactfx.value declared as Subscription Modifier and Type Field Description private SubscriptionVarFromVal. bindingprivate SubscriptionFlatMapped. selectedSubscriptionMethods in org.reactfx.value that return Subscription Modifier and Type Method Description protected SubscriptionAnimatedVal. connect()protected SubscriptionFlatMapped. connect()protected SubscriptionMappedVal. connect()protected SubscriptionOrElse. connect()protected SubscriptionOrElseConst. connect()protected SubscriptionSimpleVar. connect()protected abstract SubscriptionValBase. connect()Implementation of this method should start observing inputs.protected SubscriptionValWrapper. connect()default SubscriptionVal. observeChanges(javafx.beans.value.ChangeListener<? super T> listener)Adds a change listener and returns a Subscription that can be used to remove that listener.static <T> SubscriptionVal. observeChanges(javafx.beans.value.ObservableValue<? extends T> obs, javafx.beans.value.ChangeListener<? super T> listener)protected SubscriptionValBase. observeInputs()default SubscriptionVal. observeInvalidations(java.util.function.Consumer<? super T> oldValueObserver)static SubscriptionVal. observeInvalidations(javafx.beans.value.ObservableValue<?> obs, javafx.beans.InvalidationListener listener)default SubscriptionVal. pin()
-