Open an independent FXML component in a managed view context

This commit is contained in:
2026-11-24 14:31:31 +01:00
parent ac992167bc
commit 514cc7fb8e
3 changed files with 48 additions and 0 deletions
+2
View File
@@ -48,6 +48,8 @@ The launch class is `de.neitzel.fx.example.Main`. `Main` does not extend `Applic
Depend on `de.neitzel.lib:fx`. That module depends on `core`, `injection` and on JavaFX base, controls, graphics, fxml, and web. Application types the container constructs use `jakarta.inject.Singleton` or `jakarta.inject.Named`.
Use `ViewLoader.loadComponent(type, model, context, models)` to open a reusable Component directly from its own FXML. It returns a managed `LoadedView` with the same Component, ViewModel selection and binding lifetime as an embedded instance.
## Dependencies
These are the versions configured by this source snapshot, not a promise of compatibility with every newer release: