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
  • Method Details

    • bind

      public static <T> BidirectionalBinding bind(Property<T> property1, Property<T> property2)
    • bind

      public static <T> Object bind(Property<String> stringProperty, Property<T> otherProperty, StringConverter<T> converter)
    • unbind

      public static <T> void unbind(Property<T> property1, Property<T> property2)
    • unbind

      public static void unbind(Object property1, Object property2)
    • getProperty1

      protected abstract Object getProperty1()
    • getProperty2

      protected abstract Object getProperty2()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • wasGarbageCollected

      public boolean wasGarbageCollected()
      Description copied from interface: WeakListener
      Returns true if the linked listener was garbage-collected. In this case, the listener can be removed from the observable.
      Specified by:
      wasGarbageCollected in interface WeakListener
      Returns:
      true if the linked listener was garbage-collected.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object