Uses of Interface
javafx.util.Subscription
Packages that use Subscription
Package
Description
The package
javafx.beans contains the interfaces that
define the most generic form of observability.The package
javafx.beans.value contains the two
fundamental interfaces ObservableValue and WritableValue and all of its sub-interfaces.Contains various utilities and helper classes.
-
Uses of Subscription in javafx.beans
Methods in javafx.beans that return SubscriptionModifier and TypeMethodDescriptiondefault SubscriptionCreates aSubscriptionon thisObservablewhich callsinvalidationSubscriberwhenever it becomes invalid. -
Uses of Subscription in javafx.beans.value
Methods in javafx.beans.value that return SubscriptionModifier and TypeMethodDescriptiondefault SubscriptionObservableValue.subscribe(BiConsumer<? super T, ? super T> changeSubscriber) Creates aSubscriptionon thisObservableValuewhich calls the givenchangeSubscriberwith the old and new value whenever its value changes.default SubscriptionCreates aSubscriptionon thisObservableValuewhich immediately provides the current value to the givenvalueSubscriber, followed by any subsequent values whenever its value changes. -
Uses of Subscription in javafx.util
Fields in javafx.util declared as SubscriptionModifier and TypeFieldDescriptionstatic final SubscriptionSubscription.EMPTYAn empty subscription.Methods in javafx.util that return SubscriptionModifier and TypeMethodDescriptiondefault SubscriptionSubscription.and(Subscription other) Combines thisSubscriptionwith the givenSubscriptionand returns a newSubscriptionwhich will cancel both when cancelled.static SubscriptionSubscription.combine(Subscription... subscriptions) Returns aSubscriptionwhich combines all of the given subscriptions.Methods in javafx.util with parameters of type SubscriptionModifier and TypeMethodDescriptiondefault SubscriptionSubscription.and(Subscription other) Combines thisSubscriptionwith the givenSubscriptionand returns a newSubscriptionwhich will cancel both when cancelled.static SubscriptionSubscription.combine(Subscription... subscriptions) Returns aSubscriptionwhich combines all of the given subscriptions.