Class BidirectionalBinding<S,T>

java.lang.Object
com.iamsoft.util.ui.javafx.BidirectionalBinding<S,T>
Type Parameters:
S - The type of the wrapped value of first property.
T - The type of the wrapped value of second property.
All Implemented Interfaces:
javafx.beans.value.ChangeListener

public final class BidirectionalBinding<S,T> extends Object implements javafx.beans.value.ChangeListener
  • Method Details

    • changed

      public void changed(javafx.beans.value.ObservableValue pObservable, Object pOldValue, Object pNewValue)
      Specified by:
      changed in interface javafx.beans.value.ChangeListener<S>
    • unbind

      public void unbind()
    • bind

      public static <S, T> BidirectionalBinding<S,T> bind(javafx.beans.property.Property<S> pProperty1, javafx.beans.property.Property<T> pProperty2, Function<S,T> pConverter1, Function<T,S> pConverter2)