TextField Document model (original) (raw)

Richard Bair richard.bair at oracle.com
Thu Oct 18 16:23:18 PDT 2012


Adding a new constructor to set it once would likely work for most cases. I suspect making it dynamic is a lot more work. Maybe it is a bit more for the API designer, but, the way I understand it, this would preclude the use of the SceneBuilder to create the components, without a lot of subclassing. (See the rest of this thread.) If this is not the case, I would be very interested to know how to accomplish this.

Actually, as long as there is a Builder for the class, you should be able to build it from FXML even if there is no default constructor.



More information about the openjfx-dev mailing list