| Modifier and Type | Interface and Description |
|---|---|
interface |
IPropertyBinding<TValue>
This interface allows for a
Property to be bound. |
| Modifier and Type | Class and Description |
|---|---|
class |
RelayBinding<TParentValue,TValue,TObservedValue extends javafx.beans.value.ObservableValue<TValue>>
This is a binding that acts as an intermediate binding so that multiple cascaded properties can be observed and the desired property can be bound at the
very end.
|
| Modifier and Type | Method and Description |
|---|---|
static <TValue,TConvertedValue> |
Bindings.convert(@NotNull javafx.beans.value.ObservableValue<TValue> observableValue,
@NotNull Function<TValue,TConvertedValue> converter)
Creates
|
default <TConvertedValue> |
IFluentBinding.convertTo(@NotNull Function<TValue,TConvertedValue> converter)
Creates a new
IFluentBinding that converts the value of this IFluentBinding into another type. |
@NotNull IFluentBinding<TValue> |
IFluentBinding.fallbackOn(TValue fallbackValue)
Sets a fallback value that will be returned if the underlying
ObservableValue is not yet set. |
static <TValue> IFluentBinding<TValue> |
Bindings.observe(@NotNull javafx.beans.value.ObservableValue<TValue> observedValue)
Creates a new
RootBinding that listens to changes made to the given ObservableValue and then invokes its own binding mechanism. |
@NotNull IFluentBinding<TValue> |
IFluentBinding.replaceWith(@Nullable Function<TValue,TValue> valueReplacer)
Applies the given
Function whenever the underlying ObservableValue is changed, allowing for certain values to be replaced or ignored. |
default @NotNull IFluentBinding<TValue> |
IFluentBinding.replaceWith(@NotNull Predicate<TValue> fallbackTriggerValue,
TValue fallbackValue)
Fallback on the given fallback value if the value of the underlying
ObservableValue computes to true using the given Predicate. |
@NotNull IFluentBinding<TValue> |
IFluentBinding.stopFallbackOn()
Removes the fallback value, so that null will be returned instead of the fallback value.
|
@NotNull IFluentBinding<TValue> |
IFluentBinding.stopListeners()
Removes all the
ChangeListener and InvalidationListener that have been attached to this binding. |
@NotNull IFluentBinding<TValue> |
IFluentBinding.stopReplacement()
Stops replacing the value of the underlying
ObservableValue. |
default <TRelayedValue,TRelayedObservedValue extends javafx.beans.value.ObservableValue<TRelayedValue>> |
IFluentBinding.thenObserve(@NotNull Function<TValue,TRelayedObservedValue> relayResolver)
Creates a new
IFluentBinding that listens to changes of this IFluentBinding and then relays to another ObservableValue that is being watched. |
Copyright © 2016 Saxonia Systems AG. All rights reserved.