- 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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
void
changed(javafx.beans.value.ObservableValue pObservable, Object pOldValue, Object pNewValue)
void
unbind()
-
-
-
Method Detail
-
changed
public void changed(javafx.beans.value.ObservableValue pObservable, Object pOldValue, Object pNewValue)
- Specified by:
changed
in interfacejavafx.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)
-
-