Programmatic JavaFXBuilder w/o JavaFX bean properties

Greg Brown greg.x.brown at oracle.com
Fri May 25 06:07:50 PDT 2012


> I was thinking that we could use something like the existing
> Bindings.bindBidirectional(property1, property2), but utilize what FXML has
> done under the hood...
> 
> Then we could do something like Bindings.bind(person, "location.name",
> myJavaFxControlProperty). 

I think this makes sense. I have actually been thinking about doing something similar to address this issue:

  http://javafx-jira.kenai.com/browse/RT-21559

I have been envisioning something more along the lines of this:

  myObject.myJavaFxControlProperty().bind(new ExpressionValue(person, "location.name"));

However, the end result would be the same - you'd be able to easily create a binding between a property model and an expression.

Greg



More information about the openjfx-dev mailing list