Example usage for javafx.beans.property ObjectProperty get

List of usage examples for javafx.beans.property ObjectProperty get

Introduction

In this page you can find the example usage for javafx.beans.property ObjectProperty get.

Prototype

T get();

Source Link

Document

Get the wrapped value.

Usage

From source file:org.noroomattheinn.visibletesla.NotifierController.java

private void showAreaDialog(ObjectProperty<GeoUtils.CircularArea> areaProp) {
    String apiKey = prefs.useCustomGoogleAPIKey.get() ? prefs.googleAPIKey.get() : Prefs.GoogleMapsAPIKey;

    ChooseLocationDialog cld = ChooseLocationDialog.show(app.stage, areaProp.get(), apiKey);
    if (!cld.cancelled()) {
        areaProp.set(cld.getArea());//from ww w  . ja v  a 2  s  .c o  m
    }
}