public enum JavaFxSubscriber extends java.lang.Enum<JavaFxSubscriber>
| Modifier and Type | Method and Description |
|---|---|
static <T> javafx.beans.binding.Binding<T> |
toBinding(io.reactivex.Flowable<T> flowable)
Turns an Flowable into an eager JavaFX Binding that subscribes immediately to the Flowable.
|
static <T> javafx.beans.binding.Binding<T> |
toBinding(io.reactivex.Flowable<T> flowable,
io.reactivex.functions.Consumer<java.lang.Throwable> onErrorAction)
Turns an Flowable into an eager JavaFX Binding that subscribes immediately to the Flowable.
|
static <T> javafx.beans.binding.Binding<T> |
toLazyBinding(io.reactivex.Flowable<T> flowable)
Turns an Flowable into an lazy JavaFX Binding that subscribes to the Flowable when its getValue() is called.
|
static <T> javafx.beans.binding.Binding<T> |
toLazyBinding(io.reactivex.Flowable<T> flowable,
io.reactivex.functions.Consumer<java.lang.Throwable> onErrorAction)
Turns an Flowable into an eager JavaFX Binding that subscribes to the Flowable when its getValue() is called.
|
static <T> javafx.beans.binding.Binding<T> |
toLazyNullableBinding(io.reactivex.Flowable<java.util.Optional<T>> flowable)
Turns an Flowable into an lazy JavaFX Binding that subscribes to the Flowable when its getValue() is called.
|
static <T> javafx.beans.binding.Binding<T> |
toLazyNullableBinding(io.reactivex.Flowable<java.util.Optional<T>> flowable,
io.reactivex.functions.Consumer<java.lang.Throwable> onErrorAction)
Turns an Flowable into an lazy JavaFX Binding that subscribes to the Flowable when its getValue() is called.
|
static <T> javafx.beans.binding.Binding<T> |
toLazyNullBinding(io.reactivex.Flowable<T> flowable,
T nullSentinel)
Turns an Flowable into an eager JavaFX Binding that subscribes to the Flowable when its getValue() is called.
|
static <T> javafx.beans.binding.Binding<T> |
toLazyNullBinding(io.reactivex.Flowable<T> flowable,
T nullSentinel,
io.reactivex.functions.Consumer<java.lang.Throwable> onErrorAction)
Turns an Flowable into an eager JavaFX Binding that subscribes to the Flowable when its getValue() is called.
|
static <T> javafx.beans.binding.Binding<T> |
toNullableBinding(io.reactivex.Flowable<java.util.Optional<T>> flowable)
Turns an Flowable into an eager JavaFX Binding that subscribes immediately to the Flowable.
|
static <T> javafx.beans.binding.Binding<T> |
toNullableBinding(io.reactivex.Flowable<java.util.Optional<T>> flowable,
io.reactivex.functions.Consumer<java.lang.Throwable> onErrorAction)
Turns an Flowable into an eager JavaFX Binding that subscribes immediately to the Flowable.
|
static <T> javafx.beans.binding.Binding<T> |
toNullBinding(io.reactivex.Flowable<T> flowable,
T nullSentinel)
Turns an Flowable into an eager JavaFX Binding that subscribes immediately to the Flowable.
|
static <T> javafx.beans.binding.Binding<T> |
toNullBinding(io.reactivex.Flowable<T> flowable,
T nullSentinel,
io.reactivex.functions.Consumer<java.lang.Throwable> onErrorAction)
Turns an Flowable into an eager JavaFX Binding that subscribes immediately to the Flowable.
|
static JavaFxSubscriber |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JavaFxSubscriber[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static JavaFxSubscriber[] values()
for (JavaFxSubscriber c : JavaFxSubscriber.values()) System.out.println(c);
public static JavaFxSubscriber valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static <T> javafx.beans.binding.Binding<T> toBinding(io.reactivex.Flowable<T> flowable)
public static <T> javafx.beans.binding.Binding<T> toBinding(io.reactivex.Flowable<T> flowable,
io.reactivex.functions.Consumer<java.lang.Throwable> onErrorAction)
public static <T> javafx.beans.binding.Binding<T> toNullBinding(io.reactivex.Flowable<T> flowable,
T nullSentinel)
JavaFxObservable.valuesOf(ObservableValue, Object) and emits null when the sentinel is encountered.public static <T> javafx.beans.binding.Binding<T> toNullBinding(io.reactivex.Flowable<T> flowable,
T nullSentinel,
io.reactivex.functions.Consumer<java.lang.Throwable> onErrorAction)
JavaFxObservable.valuesOf(ObservableValue, Object) and emits null when the sentinel is encountered.public static <T> javafx.beans.binding.Binding<T> toNullableBinding(io.reactivex.Flowable<java.util.Optional<T>> flowable)
JavaFxObservable.nullableValuesOf(ObservableValue) and emits null when the value is not present.public static <T> javafx.beans.binding.Binding<T> toNullableBinding(io.reactivex.Flowable<java.util.Optional<T>> flowable,
io.reactivex.functions.Consumer<java.lang.Throwable> onErrorAction)
JavaFxObservable.nullableValuesOf(ObservableValue) and emits null when the value is not present.public static <T> javafx.beans.binding.Binding<T> toLazyBinding(io.reactivex.Flowable<T> flowable)
public static <T> javafx.beans.binding.Binding<T> toLazyBinding(io.reactivex.Flowable<T> flowable,
io.reactivex.functions.Consumer<java.lang.Throwable> onErrorAction)
public static <T> javafx.beans.binding.Binding<T> toLazyNullBinding(io.reactivex.Flowable<T> flowable,
T nullSentinel)
JavaFxObservable.valuesOf(ObservableValue, Object) and emits null when the sentinel is encountered.public static <T> javafx.beans.binding.Binding<T> toLazyNullBinding(io.reactivex.Flowable<T> flowable,
T nullSentinel,
io.reactivex.functions.Consumer<java.lang.Throwable> onErrorAction)
JavaFxObservable.valuesOf(ObservableValue, Object) and emits null when the sentinel is encountered.public static <T> javafx.beans.binding.Binding<T> toLazyNullableBinding(io.reactivex.Flowable<java.util.Optional<T>> flowable)
JavaFxObservable.nullableValuesOf(ObservableValue) and emits null when the value is not present.public static <T> javafx.beans.binding.Binding<T> toLazyNullableBinding(io.reactivex.Flowable<java.util.Optional<T>> flowable,
io.reactivex.functions.Consumer<java.lang.Throwable> onErrorAction)
JavaFxObservable.nullableValuesOf(ObservableValue) and emits null when the value is not present.