public abstract class BidirectionalBinding<TValue> extends Object implements javafx.beans.value.ChangeListener<TValue>, javafx.beans.WeakListener
Propertys of different type using a converter to convert from one type to the other and vice versa.
The current implementation is kind of a copy of the already existing java implementation but since the BidirectionalBinding is not accessible, the two classes can
not be used in
conjunction.
| Modifier and Type | Method and Description |
|---|---|
static <TValue,TOtherValue> |
bind(@NotNull javafx.beans.property.Property<TValue> property1,
@NotNull javafx.beans.property.Property<TOtherValue> property2,
@NotNull IConverter<TValue,TOtherValue> converter) |
boolean |
equals(Object obj) |
protected abstract @Nullable Object |
getProperty1() |
protected abstract @Nullable Object |
getProperty2() |
int |
hashCode() |
static void |
unbind(@NotNull Object property1,
@NotNull Object property2) |
static <TValue,TOtherValue> |
unbind(@NotNull javafx.beans.property.Property<TValue> property1,
@NotNull javafx.beans.property.Property<TOtherValue> property2) |
boolean |
wasGarbageCollected() |
@Nullable protected abstract @Nullable Object getProperty1()
@Nullable protected abstract @Nullable Object getProperty2()
public boolean wasGarbageCollected()
wasGarbageCollected in interface javafx.beans.WeakListenerpublic static <TValue,TOtherValue> BidirectionalBinding<Object> bind(@NotNull @NotNull javafx.beans.property.Property<TValue> property1, @NotNull @NotNull javafx.beans.property.Property<TOtherValue> property2, @NotNull @NotNull IConverter<TValue,TOtherValue> converter)
public static <TValue,TOtherValue> void unbind(@NotNull
@NotNull javafx.beans.property.Property<TValue> property1,
@NotNull
@NotNull javafx.beans.property.Property<TOtherValue> property2)
Copyright © 2016 Saxonia Systems AG. All rights reserved.