[Review request] Adding pre-built cells and cell factories to JavaFX

Greg Brown greg.x.brown at oracle.com
Thu May 10 07:33:00 PDT 2012


> Yes - of course - what I meant is that for it to be
> usable out-of-the-box in FXML you'd need to have public concrete
> configurable classes for all the properties expected
> by the factory instances - which does not seem to be
> the case with the current API.

Correct - in order to use the current APIs in FXML, we'll need to use a builder. 

Also, since it looks like some of the APIs take property objects, we'll probably need to modify FXMLLoader. FXML doesn't currently provide a way to get a reference to a property model - we'll need to add a new keyword and/or a new resolution operator to support this:

<Foo>
 <bar><fx:property value="myInstance.myProperty"/><bar>
</Foo>

or:

<Foo bar="~myInstance.myProperty"/>

G



More information about the openjfx-dev mailing list