Example usage for javafx.beans.property Property unbind

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

Introduction

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

Prototype

void unbind();

Source Link

Document

Remove the unidirectional 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();
    underlying.bind(source); // Bindings are garbage collected after the popup dies
}