public enum JavaFxObserver extends java.lang.Enum<JavaFxObserver>
| Modifier and Type | Method and Description |
|---|---|
static <T> javafx.beans.binding.Binding<T> |
toBinding(io.reactivex.Observable<T> obs)
Turns an Observable into an eager JavaFX Binding that subscribes immediately to the Observable.
|
static <T> javafx.beans.binding.Binding<T> |
toBinding(io.reactivex.Observable<T> obs,
io.reactivex.functions.Consumer<java.lang.Throwable> onErrorAction)
Turns an Observable into an eager JavaFX Binding that subscribes immediately to the Observable.
|
static <T> javafx.beans.binding.Binding<T> |
toLazyBinding(io.reactivex.Observable<T> obs)
Turns an Observable into an lazy JavaFX Binding that subscribes to the Observable when its getValue() is called.
|
static <T> javafx.beans.binding.Binding<T> |
toLazyBinding(io.reactivex.Observable<T> obs,
io.reactivex.functions.Consumer<java.lang.Throwable> onErrorAction)
Turns an Observable into an eager JavaFX Binding that subscribes to the Observable when its getValue() is called.
|
static <T> javafx.beans.binding.Binding<T> |
toLazyNullableBinding(io.reactivex.Observable<java.util.Optional<T>> obs)
Turns an Observable into an lazy JavaFX Binding that subscribes to the Observable when its getValue() is called.
|
static <T> javafx.beans.binding.Binding<T> |
toLazyNullableBinding(io.reactivex.Observable<java.util.Optional<T>> obs,
io.reactivex.functions.Consumer<java.lang.Throwable> onErrorAction)
Turns an Observable into an lazy JavaFX Binding that subscribes to the Observable when its getValue() is called.
|
static <T> javafx.beans.binding.Binding<T> |
toLazyNullBinding(io.reactivex.Observable<T> obs,
T nullSentinel)
Turns an Observable into an eager JavaFX Binding that subscribes to the Observable when its getValue() is called.
|
static <T> javafx.beans.binding.Binding<T> |
toLazyNullBinding(io.reactivex.Observable<T> obs,
T nullSentinel,
io.reactivex.functions.Consumer<java.lang.Throwable> onErrorAction)
Turns an Observable into an eager JavaFX Binding that subscribes to the Observable when its getValue() is called.
|
static <T> javafx.beans.binding.Binding<T> |
toNullableBinding(io.reactivex.Observable<java.util.Optional<T>> obs)
Turns an Observable into an eager JavaFX Binding that subscribes immediately to the Observable.
|
static <T> javafx.beans.binding.Binding<T> |
toNullableBinding(io.reactivex.Observable<java.util.Optional<T>> obs,
io.reactivex.functions.Consumer<java.lang.Throwable> onErrorAction)
Turns an Observable into an eager JavaFX Binding that subscribes immediately to the Observable.
|
static <T> javafx.beans.binding.Binding<T> |
toNullBinding(io.reactivex.Observable<T> obs,
T nullSentinel)
Turns an Observable into an eager JavaFX Binding that subscribes immediately to the Observable.
|
static <T> javafx.beans.binding.Binding<T> |
toNullBinding(io.reactivex.Observable<T> obs,
T nullSentinel,
io.reactivex.functions.Consumer<java.lang.Throwable> onErrorAction)
Turns an Observable into an eager JavaFX Binding that subscribes immediately to the Observable.
|
static JavaFxObserver |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JavaFxObserver[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static JavaFxObserver[] values()
for (JavaFxObserver c : JavaFxObserver.values()) System.out.println(c);
public static JavaFxObserver 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.Observable<T> obs)
public static <T> javafx.beans.binding.Binding<T> toBinding(io.reactivex.Observable<T> obs,
io.reactivex.functions.Consumer<java.lang.Throwable> onErrorAction)
public static <T> javafx.beans.binding.Binding<T> toNullBinding(io.reactivex.Observable<T> obs,
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.Observable<T> obs,
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.Observable<java.util.Optional<T>> obs)
JavaFxObservable.nullableValuesOf(ObservableValue) and emits null when the value is not present.public static <T> javafx.beans.binding.Binding<T> toNullableBinding(io.reactivex.Observable<java.util.Optional<T>> obs,
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.Observable<T> obs)
public static <T> javafx.beans.binding.Binding<T> toLazyBinding(io.reactivex.Observable<T> obs,
io.reactivex.functions.Consumer<java.lang.Throwable> onErrorAction)
public static <T> javafx.beans.binding.Binding<T> toLazyNullBinding(io.reactivex.Observable<T> obs,
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.Observable<T> obs,
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.Observable<java.util.Optional<T>> obs)
JavaFxObservable.nullableValuesOf(ObservableValue) and emits null when the value is not present.public static <T> javafx.beans.binding.Binding<T> toLazyNullableBinding(io.reactivex.Observable<java.util.Optional<T>> obs,
io.reactivex.functions.Consumer<java.lang.Throwable> onErrorAction)
JavaFxObservable.nullableValuesOf(ObservableValue) and emits null when the value is not present.