S
- The type of the wrapped value of first property.T
- The type of the wrapped value of second property.public final class BidirectionalBinding<S,T> extends Object implements javafx.beans.value.ChangeListener
Modifier and Type | Method and 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() |
public void changed(javafx.beans.value.ObservableValue pObservable, Object pOldValue, Object pNewValue)
changed
in interface javafx.beans.value.ChangeListener
public void unbind()
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)
Copyright © 2023. All rights reserved.