List of usage examples for javafx.beans.property Property bind
void bind(ObservableValue<? extends T> observable);
From source file:net.sourceforge.pmd.util.fxdesigner.util.DesignerUtil.java
/** Like rewire, with no initialisation. */ public static <T> void rewire(Property<T> underlying, ObservableValue<? extends T> source) { underlying.unbind();/*from w ww . j av a 2 s .c o m*/ underlying.bind(source); // Bindings are garbage collected after the popup dies }