Uses of Interface
org.reactfx.Subscription
Packages that use Subscription
-
Uses of Subscription in org.reactfx
Classes in org.reactfx that implement SubscriptionModifier and TypeClassDescription(package private) class(package private) classFields in org.reactfx declared as SubscriptionModifier and TypeFieldDescriptionstatic final SubscriptionSubscription.EMPTYprivate SubscriptionObservableBase.inputSubscriptionprivate SubscriptionFlatMapStream.mappedSubscriptionprivate final SubscriptionBiSubscription.s1private final SubscriptionBiSubscription.s2private SubscriptionLimitedInvocationSubscriber.subscriptionprivate final SubscriptionStreamBinding.subscriptionprivate final Subscription[]MultiSubscription.subscriptionsFields in org.reactfx with type parameters of type SubscriptionModifier and TypeFieldDescriptionprivate MapHelper<EventStream<? extends T>, Subscription> ConnectableEventSource.subscriptionsMethods in org.reactfx that return SubscriptionModifier and TypeMethodDescriptiondefault SubscriptionSubscription.and(Subscription other) Returns a new aggregate subscription whoseSubscription.unsubscribe()method callsunsubscribe()on both this subscription andothersubscription.protected final SubscriptionSuspendableBoolean.connect()Connectable.connectTo(EventStream<? extends T> source) Connects this connectable object tosourceevent stream.ConnectableEventSource.connectTo(EventStream<? extends T> input) static <T> SubscriptionSubscription.dynamic(javafx.collections.ObservableSet<T> elems, 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 SubscriptionStarts setting all events emitted by this stream as the value of the given writable value.default SubscriptionStarts pushing all events emitted by this stream to the given event sink.static <T> SubscriptionSubscription.multi(Function<? super T, ? extends Subscription> f, 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(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 whoseSubscription.unsubscribe()method callsunsubscribe()on all arguments to this method.default Subscriptionfinal Subscriptionfinal Subscriptionfinal SubscriptionReturns an empty Subscription (Subscription.EMPTY).protected SubscriptionAccumulateBetweenStream.observeInputs()protected SubscriptionAccumulateUntilLaterStream.observeInputs()protected final SubscriptionAccumulatingStream.observeInputs()protected final SubscriptionAwait.observeInputs()protected SubscriptionAwaitLatest.observeInputs()protected final SubscriptionConnectableEventSource.observeInputs()protected final SubscriptionDefaultEventStream.observeInputs()protected SubscriptionDistinctStream.observeInputs()protected SubscriptionEmitBothOnEachStream.observeInputs()protected SubscriptionEmitOnEachStream.observeInputs()protected SubscriptionEmitOnStream.observeInputs()protected final 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 final SubscriptionSuccessionReducingStream.observeInputs()protected final SubscriptionSuspendableBase.observeInputs()protected SubscriptionSuspendedWhenStream.observeInputs()protected SubscriptionSuspenderStreamImpl.observeInputs()protected final 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 SubscriptionGet notified every time this event stream emits a value.default SubscriptionEventStream.subscribeFor(int n, Consumer<? super T> subscriber) Subscribes to this event stream for at mostnevents.default SubscriptionEventStream.subscribeForOne(Consumer<? super T> subscriber) Shorthand forsubscribeFor(1, subscriber).(package private) SubscriptionLimitedInvocationSubscriber.subscribeTo(EventStream<? extends T> stream) private final SubscriptionConnectableEventSource.subscribeToInput(EventStream<? extends T> input) InputHandler.subscribeToInput()default SubscriptionSuspendable.suspendWhen(javafx.beans.value.ObservableValue<Boolean> condition) Methods in org.reactfx with parameters of type SubscriptionModifier and TypeMethodDescriptiondefault SubscriptionSubscription.and(Subscription other) Returns a new aggregate subscription whoseSubscription.unsubscribe()method callsunsubscribe()on both this subscription andothersubscription.static SubscriptionSubscription.multi(Subscription... subs) Returns a new aggregate subscription whoseSubscription.unsubscribe()method callsunsubscribe()on all arguments to this method.Method parameters in org.reactfx with type arguments of type SubscriptionModifier and TypeMethodDescriptionstatic <T> SubscriptionSubscription.dynamic(javafx.collections.ObservableSet<T> elems, Function<? super T, ? extends Subscription> f) Dynamically subscribes to all elements of the given observable set.static <T> SubscriptionSubscription.multi(Function<? super T, ? extends Subscription> f, 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(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 SubscriptionModifierConstructorDescriptionBiSubscription(Subscription s1, Subscription s2) MultiSubscription(Subscription... subscriptions) -
Uses of Subscription in org.reactfx.collection
Methods in org.reactfx.collection that return SubscriptionModifier and TypeMethodDescriptionprotected SubscriptionListRangeReduction.connect()protected SubscriptionListReduction.connect()default SubscriptionLiveList.observeChanges(Consumer<? super ListChange<? extends E>> observer) static <E> SubscriptionLiveList.observeChanges(javafx.collections.ObservableList<E> list, 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(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 SubscriptionModifier and TypeFieldDescriptionprivate SubscriptionVarFromVal.bindingprivate SubscriptionFlatMapped.selectedSubscriptionMethods in org.reactfx.value that return SubscriptionModifier and TypeMethodDescriptionprotected SubscriptionAnimatedVal.connect()protected final 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 final SubscriptionValBase.observeInputs()default SubscriptionVal.observeInvalidations(Consumer<? super T> oldValueObserver) static SubscriptionVal.observeInvalidations(javafx.beans.value.ObservableValue<?> obs, javafx.beans.InvalidationListener listener) default SubscriptionVal.pin()