public abstract class BidirectionalBinding<T> extends Object implements ChangeListener<T>, WeakListener
Modifier and Type | Class and Description |
---|---|
static class |
BidirectionalBinding.StringConversionBidirectionalBinding<T> |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
changed
public static <T> BidirectionalBinding bind(Property<T> property1, Property<T> property2)
public static Object bind(Property<String> stringProperty, Property<?> otherProperty, Format format)
public static <T> Object bind(Property<String> stringProperty, Property<T> otherProperty, StringConverter<T> converter)
public static BidirectionalBinding bindNumber(Property<Integer> property1, IntegerProperty property2)
public static BidirectionalBinding bindNumber(Property<Long> property1, LongProperty property2)
public static BidirectionalBinding bindNumber(Property<Float> property1, FloatProperty property2)
public static BidirectionalBinding bindNumber(Property<Double> property1, DoubleProperty property2)
public static BidirectionalBinding bindNumber(IntegerProperty property1, Property<Integer> property2)
public static BidirectionalBinding bindNumber(LongProperty property1, Property<Long> property2)
public static BidirectionalBinding bindNumber(FloatProperty property1, Property<Float> property2)
public static BidirectionalBinding bindNumber(DoubleProperty property1, Property<Double> property2)
public static <T extends Number> void unbindNumber(Property<T> property1, Property<Number> property2)
protected abstract Object getProperty1()
protected abstract Object getProperty2()
public boolean wasGarbageCollected()
WeakListener
true
if the linked listener was garbage-collected.
In this case, the listener can be removed from the observable.wasGarbageCollected
in interface WeakListener
true
if the linked listener was garbage-collected.Copyright © 2020. All rights reserved.