Example usage for javafx.beans.property Property bind

List of usage examples for javafx.beans.property Property bind

Introduction

In this page you can find the example usage for javafx.beans.property Property bind.

Prototype

void bind(ObservableValue<? extends T> observable);

Source Link

Document

Create a unidirection binding for this Property .

Usage

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
}