Naoghuman/lib-fxml

[api] Create new interface FXMLModelable.

Naoghuman opened this issue · 0 comments

[api] Create new interface FXMLModelable.

  • Contains 2 new methods:
    • writeToFXMLModel(): FXMLModel
    • readFromFXMLModel(FXMLModel): void
  • Main idea is like the interface Externalizable. A concrete 'Entity' which implements FXMLModelable can so shown in FXMLPresenter over the FXMLModel and also allowed to persist the FXMLModel with contained Entity in a defined way.