This screencast shows off the JavaFX 2.0 EA low level binding API.
Super important: This is EARLY ACCESS
ORACLE HAVE A RIGHT TO CHANGE API AND ANY CODE YOU SEE HERE. DO NOT DEPEND ON THE INFO FOR PRODUCTS / PRODUCTION etc
Thanks to Oracle JavaFX SDK Team and Partner Program
Moving swiftly on: Richard Bair et al are working on a new high-level API for binding JavaFX 2.0. I defer to their expertise!!! You are strongly recommendated to do so as well. ;-)
This code demonstrates the lowest level SUBJECT OBSERVER design pattern.
All scene-graph nodes in the API have properties (ValueModel objects) also known as object instance members. The ValueModel class wraps the primitive data and object references with "binding" behaviour e.g. notification of observers.
Therefore changes can be propogated in JavaFX 2.0 using a list collection of ValueModelListeners, which is a SAM type if you noticed.
Are you keeping up? JDK 8 SAM (Single Abstract Method) interface types can be converted to Lambda Expressions, Java 8 Closures in the future. I like this feature alot, because it can also be exploited by alternative JVM languages right here, right now.
The sore points are obviously the boiler plate in Java programming language and lack of conciseness. This is however not entirely the JavaFX SDK team's fault at all.
Enjoy