Creating custom bindings

If you have a complex logic, you can create your own binding by either extending the corresponding abstract base classDoubleBinding, StringBinding, ObjectBinding—there are several options for different types; or by using a utility method from the Bindings class. 

Get Mastering JavaFX 10 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.