Package com.sun.javafx.binding
Class BidirectionalBinding<T>
java.lang.Object
com.sun.javafx.binding.BidirectionalBinding<T>
- All Implemented Interfaces:
ChangeListener<T>,WeakListener
- Direct Known Subclasses:
BidirectionalBinding.StringConversionBidirectionalBinding
public abstract class BidirectionalBinding<T>
extends Object
implements ChangeListener<T>, WeakListener
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Objectbind(Property<String> stringProperty, Property<T> otherProperty, StringConverter<T> converter) static <T> BidirectionalBindingbooleanprotected abstract Objectprotected abstract ObjectinthashCode()static voidstatic <T> voidbooleanReturnstrueif the linked listener was garbage-collected.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javafx.beans.value.ChangeListener
changed
-
Method Details
-
bind
-
bind
public static <T> Object bind(Property<String> stringProperty, Property<T> otherProperty, StringConverter<T> converter) -
unbind
-
unbind
-
getProperty1
-
getProperty2
-
hashCode
public int hashCode() -
wasGarbageCollected
public boolean wasGarbageCollected()Description copied from interface:WeakListenerReturnstrueif the linked listener was garbage-collected. In this case, the listener can be removed from the observable.- Specified by:
wasGarbageCollectedin interfaceWeakListener- Returns:
trueif the linked listener was garbage-collected.
-
equals
-