public final class UIThreadAwareBindings extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static <T> ChangeListener<T> | uiThreadAwareBind(Property<T> property,
                 ObservableValue<T> observable)Registers a  ChangeListeneron the supplied observable that will notify the target property. | 
| static BooleanBinding | uiThreadAwareBooleanBinding(BooleanBinding binding)Creates a boolean binding that notifies its listeners inside the UI thread. | 
| static BooleanProperty | uiThreadAwareBooleanProperty(BooleanProperty observable)Creates an observable boolean property that notifies its listeners inside the UI thread. | 
| static <T> ChangeListener<T> | uiThreadAwareChangeListener(ChangeListener<T> listener)Creates a  ChangeListenerthat always handles notifications inside the UI thread. | 
| static <T> ChangeListener<T> | uiThreadAwareChangeListener(Consumer<T> consumer)Creates a  ChangeListenerthat always handles notifications inside the UI thread. | 
| static <T> ChangeListener<T> | uiThreadAwareChangeListener(ObservableValue<T> observable,
                           ChangeListener<T> listener)Registers a  ChangeListenerthat always handles notifications inside the UI thread. | 
| static <T> ChangeListener<T> | uiThreadAwareChangeListener(ObservableValue<T> observable,
                           Consumer<T> consumer)Registers a  ChangeListenerthat always handles notifications inside the UI thread. | 
| static <T> ChangeListener<T> | uiThreadAwareChangeListener(ObservableValue<T> observable,
                           Runnable runnable)Registers a  ChangeListenerthat always handles notifications inside the UI thread. | 
| static <T> ChangeListener<T> | uiThreadAwareChangeListener(Runnable runnable)Creates a  ChangeListenerthat always handles notifications inside the UI thread. | 
| static DoubleBinding | uiThreadAwareDoubleBinding(DoubleBinding binding)Creates a double binding that notifies its listeners inside the UI thread. | 
| static DoubleProperty | uiThreadAwareDoubleProperty(DoubleProperty observable)Creates an observable double property that notifies its listeners inside the UI thread. | 
| static FloatBinding | uiThreadAwareFloatBinding(FloatBinding binding)Creates a float binding that notifies its listeners inside the UI thread. | 
| static FloatProperty | uiThreadAwareFloatProperty(FloatProperty observable)Creates an observable float property that notifies its listeners inside the UI thread. | 
| static IntegerBinding | uiThreadAwareIntegerBinding(IntegerBinding binding)Creates an integer binding that notifies its listeners inside the UI thread. | 
| static IntegerProperty | uiThreadAwareIntegerProperty(IntegerProperty observable)Creates an observable integer property that notifies its listeners inside the UI thread. | 
| static InvalidationListener | uiThreadAwareInvalidationListener(Consumer<Observable> consumer)Creates a  InvalidationListenerthat always handles notifications inside the UI thread. | 
| static InvalidationListener | uiThreadAwareInvalidationListener(InvalidationListener listener)Creates a  InvalidationListenerthat always handles notifications inside the UI thread. | 
| static InvalidationListener | uiThreadAwareInvalidationListener(Observable observable,
                                 Consumer<Observable> consumer)Registers a  InvalidationListenerthat always handles notifications inside the UI thread. | 
| static InvalidationListener | uiThreadAwareInvalidationListener(Observable observable,
                                 InvalidationListener listener)Registers a  InvalidationListenerthat always handles notifications inside the UI thread. | 
| static InvalidationListener | uiThreadAwareInvalidationListener(Observable observable,
                                 Runnable runnable)Registers a  InvalidationListenerthat always handles notifications inside the UI thread. | 
| static InvalidationListener | uiThreadAwareInvalidationListener(Runnable runnable)Creates a  InvalidationListenerthat always handles notifications inside the UI thread. | 
| static <E> ListChangeListener<E> | uiThreadAwareListChangeListener(Consumer<ListChangeListener.Change<? extends E>> consumer)Creates a  ListChangeListenerthat always handles notifications inside the UI thread. | 
| static <E> ListChangeListener<E> | uiThreadAwareListChangeListener(ListChangeListener<E> listener)Creates a  ListChangeListenerthat always handles notifications inside the UI thread. | 
| static <E> ListChangeListener<E> | uiThreadAwareListChangeListener(ObservableList<E> observable,
                               Consumer<ListChangeListener.Change<? extends E>> consumer)Registers a  ListChangeListenerthat always handles notifications inside the UI thread. | 
| static <E> ListChangeListener<E> | uiThreadAwareListChangeListener(ObservableList<E> observable,
                               ListChangeListener<E> listener)Registers a  ListChangeListenerthat always handles notifications inside the UI thread. | 
| static <E> ListChangeListener<E> | uiThreadAwareListChangeListener(ObservableList<E> observable,
                               Runnable runnable)Registers a  ListChangeListenerthat always handles notifications inside the UI thread. | 
| static <E> ListChangeListener<E> | uiThreadAwareListChangeListener(Runnable runnable)Creates a  ListChangeListenerthat always handles notifications inside the UI thread. | 
| static <E> ListProperty<E> | uiThreadAwareListProperty(ListProperty<E> observable)Creates an observable list property that notifies its listeners inside the UI thread. | 
| static LongBinding | uiThreadAwareLongBinding(LongBinding binding)Creates a long binding that notifies its listeners inside the UI thread. | 
| static LongProperty | uiThreadAwareLongProperty(LongProperty observable)Creates an observable long property that notifies its listeners inside the UI thread. | 
| static <K,V> MapChangeListener<K,V> | uiThreadAwareMapChangeListener(Consumer<MapChangeListener.Change<? extends K,? extends V>> consumer)Creates a  MapChangeListenerthat always handles notifications inside the UI thread. | 
| static <K,V> MapChangeListener<K,V> | uiThreadAwareMapChangeListener(MapChangeListener<K,V> listener)Creates a  MapChangeListenerthat always handles notifications inside the UI thread. | 
| static <K,V> MapChangeListener<K,V> | uiThreadAwareMapChangeListener(ObservableMap<K,V> observable,
                              Consumer<MapChangeListener.Change<? extends K,? extends V>> consumer)Registers a  MapChangeListenerthat always handles notifications inside the UI thread. | 
| static <K,V> MapChangeListener<K,V> | uiThreadAwareMapChangeListener(ObservableMap<K,V> observable,
                              MapChangeListener<K,V> listener)Registers a  MapChangeListenerthat always handles notifications inside the UI thread. | 
| static <K,V> MapChangeListener<K,V> | uiThreadAwareMapChangeListener(ObservableMap<K,V> observable,
                              Runnable runnable)Registers a  MapChangeListenerthat always handles notifications inside the UI thread. | 
| static <K,V> MapChangeListener<K,V> | uiThreadAwareMapChangeListener(Runnable runnable)Creates a  MapChangeListenerthat always handles notifications inside the UI thread. | 
| static <K,V> MapProperty<K,V> | uiThreadAwareMapProperty(MapProperty<K,V> observable)Creates an observable map property that notifies its listeners inside the UI thread. | 
| static <T> ObjectBinding<T> | uiThreadAwareObjectBinding(ObjectBinding<T> binding)Creates an object binding that notifies its listeners inside the UI thread. | 
| static <T> ObjectProperty<T> | uiThreadAwareObjectProperty(ObjectProperty<T> observable)Creates an observable object property that notifies its listeners inside the UI thread. | 
| static <T> ObservableValue<T> | uiThreadAwareObservable(ObservableValue<T> observable)Creates an observable value that notifies its listeners inside the UI thread. | 
| static ObservableBooleanValue | uiThreadAwareObservableBoolean(ObservableBooleanValue observable)Creates an observable boolean value that notifies its listeners inside the UI thread. | 
| static ObservableDoubleValue | uiThreadAwareObservableDouble(ObservableDoubleValue observable)Creates an observable double value that notifies its listeners inside the UI thread. | 
| static ObservableFloatValue | uiThreadAwareObservableFloat(ObservableFloatValue observable)Creates an observable float value that notifies its listeners inside the UI thread. | 
| static ObservableIntegerValue | uiThreadAwareObservableInteger(ObservableIntegerValue observable)Creates an observable integer value that notifies its listeners inside the UI thread. | 
| static ObservableLongValue | uiThreadAwareObservableLong(ObservableLongValue observable)Creates an observable long value that notifies its listeners inside the UI thread. | 
| static ObservableStringValue | uiThreadAwareObservableString(ObservableStringValue observable)Creates an observable string value that notifies its listeners inside the UI thread. | 
| static Property<Boolean> | uiThreadAwarePropertyBoolean(Property<Boolean> observable)Creates an observable boolean property that notifies its listeners inside the UI thread. | 
| static Property<Double> | uiThreadAwarePropertyDouble(Property<Double> observable)Creates an observable double property that notifies its listeners inside the UI thread. | 
| static Property<Float> | uiThreadAwarePropertyFloat(Property<Float> observable)Creates an observable float property that notifies its listeners inside the UI thread. | 
| static Property<Integer> | uiThreadAwarePropertyInteger(Property<Integer> observable)Creates an observable integer property that notifies its listeners inside the UI thread. | 
| static Property<Long> | uiThreadAwarePropertyLong(Property<Long> observable)Creates an observable long property that notifies its listeners inside the UI thread. | 
| static Property<String> | uiThreadAwarePropertyString(Property<String> observable)Creates an observable string property that notifies its listeners inside the UI thread. | 
| static <E> SetChangeListener<E> | uiThreadAwareSetChangeListener(Consumer<SetChangeListener.Change<? extends E>> consumer)Creates a  SetChangeListenerthat always handles notifications inside the UI thread. | 
| static <E> SetChangeListener<E> | uiThreadAwareSetChangeListener(ObservableSet<E> observable,
                              Consumer<SetChangeListener.Change<? extends E>> consumer)Registers a  SetChangeListenerthat always handles notifications inside the UI thread. | 
| static <E> SetChangeListener<E> | uiThreadAwareSetChangeListener(ObservableSet<E> observable,
                              Runnable runnable)Registers a  SetChangeListenerthat always handles notifications inside the UI thread. | 
| static <E> SetChangeListener<E> | uiThreadAwareSetChangeListener(ObservableSet<E> observable,
                              SetChangeListener<E> listener)Registers a  SetChangeListenerthat always handles notifications inside the UI thread. | 
| static <E> SetChangeListener<E> | uiThreadAwareSetChangeListener(Runnable runnable)Creates a  SetChangeListenerthat always handles notifications inside the UI thread. | 
| static <E> SetChangeListener<E> | uiThreadAwareSetChangeListener(SetChangeListener<E> listener)Creates a  SetChangeListenerthat always handles notifications inside the UI thread. | 
| static <E> SetProperty<E> | uiThreadAwareSetProperty(SetProperty<E> observable)Creates an observable set property that notifies its seteners inside the UI thread. | 
| static StringBinding | uiThreadAwareStringBinding(StringBinding binding)Creates a string binding that notifies its listeners inside the UI thread. | 
| static StringProperty | uiThreadAwareStringProperty(StringProperty observable)Creates an observable string property that notifies its listeners inside the UI thread. | 
public static <T> ChangeListener<T> uiThreadAwareBind(@Nonnull Property<T> property, @Nonnull ObservableValue<T> observable)
ChangeListener on the supplied observable that will notify the target property.property - the property that will be notified of value changes.observable - the observable on which the listener will be registered.public static <T> ChangeListener<T> uiThreadAwareChangeListener(@Nonnull ObservableValue<T> observable, @Nonnull ChangeListener<T> listener)
ChangeListener that always handles notifications inside the UI thread.observable - the observable on which the listener will be registered.listener - the wrapped change listener.ChangeListener.@Nonnull public static <T> ChangeListener<T> uiThreadAwareChangeListener(@Nonnull ChangeListener<T> listener)
ChangeListener that always handles notifications inside the UI thread.listener - the wrapped change listener.ChangeListener.public static <T> ChangeListener<T> uiThreadAwareChangeListener(@Nonnull ObservableValue<T> observable, @Nonnull Consumer<T> consumer)
ChangeListener that always handles notifications inside the UI thread.observable - the observable on which the listener will be registered.consumer - the consumer of the newValue argument.ChangeListener.@Nonnull public static <T> ChangeListener<T> uiThreadAwareChangeListener(@Nonnull Consumer<T> consumer)
ChangeListener that always handles notifications inside the UI thread.consumer - the consumer of the newValue argument.ChangeListener.public static <T> ChangeListener<T> uiThreadAwareChangeListener(@Nonnull ObservableValue<T> observable, @Nonnull Runnable runnable)
ChangeListener that always handles notifications inside the UI thread.observable - the observable on which the listener will be registered.runnable - the code to be executed when the listener is notified.ChangeListener.@Nonnull public static <T> ChangeListener<T> uiThreadAwareChangeListener(@Nonnull Runnable runnable)
ChangeListener that always handles notifications inside the UI thread.runnable - the code to be executed when the listener is notified.ChangeListener.public static InvalidationListener uiThreadAwareInvalidationListener(@Nonnull Observable observable, @Nonnull InvalidationListener listener)
InvalidationListener that always handles notifications inside the UI thread.observable - the observable on which the listener will be registered.listener - the wrapped invalidation listener.InvalidationListener.@Nonnull public static InvalidationListener uiThreadAwareInvalidationListener(@Nonnull InvalidationListener listener)
InvalidationListener that always handles notifications inside the UI thread.listener - the wrapped invalidation listener.InvalidationListener.public static InvalidationListener uiThreadAwareInvalidationListener(@Nonnull Observable observable, @Nonnull Consumer<Observable> consumer)
InvalidationListener that always handles notifications inside the UI thread.observable - the observable on which the listener will be registered.consumer - the consumer of the observable argument.InvalidationListener.@Nonnull public static InvalidationListener uiThreadAwareInvalidationListener(@Nonnull Consumer<Observable> consumer)
InvalidationListener that always handles notifications inside the UI thread.consumer - the consumer of the observable argument.InvalidationListener.public static InvalidationListener uiThreadAwareInvalidationListener(@Nonnull Observable observable, @Nonnull Runnable runnable)
InvalidationListener that always handles notifications inside the UI thread.observable - the observable on which the listener will be registered.runnable - the code to be executed when the listener is notified.InvalidationListener.@Nonnull public static InvalidationListener uiThreadAwareInvalidationListener(@Nonnull Runnable runnable)
InvalidationListener that always handles notifications inside the UI thread.runnable - the code to be executed when the listener is notified.InvalidationListener.public static <E> ListChangeListener<E> uiThreadAwareListChangeListener(@Nonnull ObservableList<E> observable, @Nonnull ListChangeListener<E> listener)
ListChangeListener that always handles notifications inside the UI thread.observable - the observable on which the listener will be registered.listener - the wrapped list change listener.ListChangeListener.@Nonnull public static <E> ListChangeListener<E> uiThreadAwareListChangeListener(@Nonnull ListChangeListener<E> listener)
ListChangeListener that always handles notifications inside the UI thread.listener - the wrapped list change listener.ListChangeListener.public static <E> ListChangeListener<E> uiThreadAwareListChangeListener(@Nonnull ObservableList<E> observable, @Nonnull Consumer<ListChangeListener.Change<? extends E>> consumer)
ListChangeListener that always handles notifications inside the UI thread.observable - the observable on which the listener will be registered.consumer - the consumer of the newValue argument.ListChangeListener.@Nonnull public static <E> ListChangeListener<E> uiThreadAwareListChangeListener(@Nonnull Consumer<ListChangeListener.Change<? extends E>> consumer)
ListChangeListener that always handles notifications inside the UI thread.consumer - the consumer of the change argument.ListChangeListener.public static <E> ListChangeListener<E> uiThreadAwareListChangeListener(@Nonnull ObservableList<E> observable, @Nonnull Runnable runnable)
ListChangeListener that always handles notifications inside the UI thread.observable - the observable on which the listener will be registered.runnable - the code to be executed when the listener is notified.ListChangeListener.@Nonnull public static <E> ListChangeListener<E> uiThreadAwareListChangeListener(@Nonnull Runnable runnable)
ListChangeListener that always handles notifications inside the UI thread.runnable - the code to be executed when the listener is notified.ListChangeListener.public static <K,V> MapChangeListener<K,V> uiThreadAwareMapChangeListener(@Nonnull ObservableMap<K,V> observable, @Nonnull MapChangeListener<K,V> listener)
MapChangeListener that always handles notifications inside the UI thread.observable - the observable on which the listener will be registered.listener - the wrapped map change listener.MapChangeListener.@Nonnull public static <K,V> MapChangeListener<K,V> uiThreadAwareMapChangeListener(@Nonnull MapChangeListener<K,V> listener)
MapChangeListener that always handles notifications inside the UI thread.listener - the wrapped map change listener.MapChangeListener.public static <K,V> MapChangeListener<K,V> uiThreadAwareMapChangeListener(@Nonnull ObservableMap<K,V> observable, @Nonnull Consumer<MapChangeListener.Change<? extends K,? extends V>> consumer)
MapChangeListener that always handles notifications inside the UI thread.observable - the observable on which the listener will be registered.consumer - the consumer of the newValue argument.MapChangeListener.@Nonnull public static <K,V> MapChangeListener<K,V> uiThreadAwareMapChangeListener(@Nonnull Consumer<MapChangeListener.Change<? extends K,? extends V>> consumer)
MapChangeListener that always handles notifications inside the UI thread.consumer - the consumer of the change argument.MapChangeListener.public static <K,V> MapChangeListener<K,V> uiThreadAwareMapChangeListener(@Nonnull ObservableMap<K,V> observable, @Nonnull Runnable runnable)
MapChangeListener that always handles notifications inside the UI thread.observable - the observable on which the listener will be registered.runnable - the code to be executed when the listener is notified.MapChangeListener.@Nonnull public static <K,V> MapChangeListener<K,V> uiThreadAwareMapChangeListener(@Nonnull Runnable runnable)
MapChangeListener that always handles notifications inside the UI thread.runnable - the code to be executed when the listener is notified.MapChangeListener.public static <E> SetChangeListener<E> uiThreadAwareSetChangeListener(@Nonnull ObservableSet<E> observable, @Nonnull SetChangeListener<E> listener)
SetChangeListener that always handles notifications inside the UI thread.observable - the observable on which the listener will be registered.listener - the wrapped set change listener.SetChangeListener.@Nonnull public static <E> SetChangeListener<E> uiThreadAwareSetChangeListener(@Nonnull SetChangeListener<E> listener)
SetChangeListener that always handles notifications inside the UI thread.listener - the wrapped set change listener.SetChangeListener.public static <E> SetChangeListener<E> uiThreadAwareSetChangeListener(@Nonnull ObservableSet<E> observable, @Nonnull Consumer<SetChangeListener.Change<? extends E>> consumer)
SetChangeListener that always handles notifications inside the UI thread.observable - the observable on which the listener will be registered.consumer - the consumer of the newValue argument.SetChangeListener.@Nonnull public static <E> SetChangeListener<E> uiThreadAwareSetChangeListener(@Nonnull Consumer<SetChangeListener.Change<? extends E>> consumer)
SetChangeListener that always handles notifications inside the UI thread.consumer - the consumer of the change argument.SetChangeListener.public static <E> SetChangeListener<E> uiThreadAwareSetChangeListener(@Nonnull ObservableSet<E> observable, @Nonnull Runnable runnable)
SetChangeListener that always handles notifications inside the UI thread.observable - the observable on which the listener will be registered.runnable - the code to be executed when the listener is notified.SetChangeListener.@Nonnull public static <E> SetChangeListener<E> uiThreadAwareSetChangeListener(@Nonnull Runnable runnable)
SetChangeListener that always handles notifications inside the UI thread.runnable - the code to be executed when the listener is notified.SetChangeListener.@Nonnull public static BooleanProperty uiThreadAwareBooleanProperty(@Nonnull BooleanProperty observable)
observable - the observable boolean property to wrap.@Nonnull public static IntegerProperty uiThreadAwareIntegerProperty(@Nonnull IntegerProperty observable)
observable - the observable integer property to wrap.@Nonnull public static LongProperty uiThreadAwareLongProperty(@Nonnull LongProperty observable)
observable - the observable long property to wrap.@Nonnull public static FloatProperty uiThreadAwareFloatProperty(@Nonnull FloatProperty observable)
observable - the observable float property to wrap.@Nonnull public static DoubleProperty uiThreadAwareDoubleProperty(@Nonnull DoubleProperty observable)
observable - the observable double property to wrap.@Nonnull public static StringProperty uiThreadAwareStringProperty(@Nonnull StringProperty observable)
observable - the observable string property to wrap.@Nonnull public static Property<Boolean> uiThreadAwarePropertyBoolean(@Nonnull Property<Boolean> observable)
observable - the observable boolean property to wrap.@Nonnull public static Property<Integer> uiThreadAwarePropertyInteger(@Nonnull Property<Integer> observable)
observable - the observable integer property to wrap.@Nonnull public static Property<Long> uiThreadAwarePropertyLong(@Nonnull Property<Long> observable)
observable - the observable long property to wrap.@Nonnull public static Property<Float> uiThreadAwarePropertyFloat(@Nonnull Property<Float> observable)
observable - the observable float property to wrap.@Nonnull public static Property<Double> uiThreadAwarePropertyDouble(@Nonnull Property<Double> observable)
observable - the observable double property to wrap.@Nonnull public static Property<String> uiThreadAwarePropertyString(@Nonnull Property<String> observable)
observable - the observable string property to wrap.@Nonnull public static <T> ObjectProperty<T> uiThreadAwareObjectProperty(@Nonnull ObjectProperty<T> observable)
observable - the observable object property to wrap.@Nonnull public static <E> ListProperty<E> uiThreadAwareListProperty(@Nonnull ListProperty<E> observable)
observable - the observable list property to wrap.@Nonnull public static <E> SetProperty<E> uiThreadAwareSetProperty(@Nonnull SetProperty<E> observable)
observable - the observable set property to wrap.@Nonnull public static <K,V> MapProperty<K,V> uiThreadAwareMapProperty(@Nonnull MapProperty<K,V> observable)
observable - the observable map property to wrap.@Nonnull public static <T> ObservableValue<T> uiThreadAwareObservable(@Nonnull ObservableValue<T> observable)
observable - the observable to wrap.@Nonnull public static ObservableStringValue uiThreadAwareObservableString(@Nonnull ObservableStringValue observable)
observable - the observable string to wrap.@Nonnull public static ObservableBooleanValue uiThreadAwareObservableBoolean(@Nonnull ObservableBooleanValue observable)
observable - the observable boolean to wrap.@Nonnull public static ObservableIntegerValue uiThreadAwareObservableInteger(@Nonnull ObservableIntegerValue observable)
observable - the observable integer to wrap.@Nonnull public static ObservableLongValue uiThreadAwareObservableLong(@Nonnull ObservableLongValue observable)
observable - the observable long to wrap.@Nonnull public static ObservableFloatValue uiThreadAwareObservableFloat(@Nonnull ObservableFloatValue observable)
observable - the observable float to wrap.@Nonnull public static ObservableDoubleValue uiThreadAwareObservableDouble(@Nonnull ObservableDoubleValue observable)
observable - the observable double to wrap.@Nonnull public static BooleanBinding uiThreadAwareBooleanBinding(@Nonnull BooleanBinding binding)
binding - the boolean binding to wrap.@Nonnull public static IntegerBinding uiThreadAwareIntegerBinding(@Nonnull IntegerBinding binding)
binding - the integer binding to wrap.@Nonnull public static LongBinding uiThreadAwareLongBinding(@Nonnull LongBinding binding)
binding - the long binding to wrap.@Nonnull public static FloatBinding uiThreadAwareFloatBinding(@Nonnull FloatBinding binding)
binding - the float binding to wrap.@Nonnull public static DoubleBinding uiThreadAwareDoubleBinding(@Nonnull DoubleBinding binding)
binding - the double binding to wrap.@Nonnull public static StringBinding uiThreadAwareStringBinding(@Nonnull StringBinding binding)
binding - the string binding to wrap.@Nonnull public static <T> ObjectBinding<T> uiThreadAwareObjectBinding(@Nonnull ObjectBinding<T> binding)
binding - the object binding to wrap.