It would be very powerful to have FXML serialization/marshaling feature that does the inverse of FXMLLoader, i.e. converts a scene graph or hierarchy of beans to FXML representation. This would mean the opposite of of what FXMLLoader does. FXMLLoader takes an FXML file, creates an object hierarchy from it and invokes bean setters to set properties. An FXMLWriter would take a root node and transform it to FXML object representation and set non-default value properties of the objects.
- duplicates
-
JDK-8102179 JavaFX persistence: add API to store FX scene into FXML
-
- Closed
-