Example usage for javafx.beans.property Property bindBidirectional

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

Introduction

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

Prototype

void bindBidirectional(Property<T> other);

Source Link

Document

Create a bidirectional binding between this Property and another one.

Usage

From source file:uk.ac.bris.cs.scotlandyard.ui.controller.BaseGame.java

private <T> void setAndBind(Property<T> source, Property<T> target) {
    target.setValue(source.getValue());
    target.bindBidirectional(source);
}