Class LiveReload
java.lang.Object
megalodonte.application.reload.LiveReload
Development-only screen refresh. No class-loader replacement or lifecycle restart.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidapplyRouteWindowMode(javafx.stage.Stage stage, boolean fullScreen) Apply route-owned window mode and remember mandatory full-screen across dev restarts.static voidmarkPrimary(javafx.stage.Stage stage) Give the application stage a stable identity before the startup handler creates its view.static Componentrender(ScreenComponent screen) Render with subscription ownership only in a development-agent session.static booleanrestoreBeforeShow(javafx.stage.Stage stage) Restore saved bounds and native mode after application code has configured the stage.static voidrestoreFocusAfterShow(javafx.stage.Stage stage) Preserve foreground/background intent after JavaFX maps the recreated native window.static voidtrack(javafx.stage.Stage stage, ScreenComponent screen, javafx.scene.Parent root) Track only framework-managed, currently rendered screens, on the FX thread.static voiduntrack(javafx.stage.Stage stage) Drop a route that is being destroyed or replaced by an unmanaged view.
-
Method Details
-
markPrimary
public static void markPrimary(javafx.stage.Stage stage) Give the application stage a stable identity before the startup handler creates its view. -
render
Render with subscription ownership only in a development-agent session. -
track
public static void track(javafx.stage.Stage stage, ScreenComponent screen, javafx.scene.Parent root) Track only framework-managed, currently rendered screens, on the FX thread. -
restoreBeforeShow
public static boolean restoreBeforeShow(javafx.stage.Stage stage) Restore saved bounds and native mode after application code has configured the stage. -
applyRouteWindowMode
public static void applyRouteWindowMode(javafx.stage.Stage stage, boolean fullScreen) Apply route-owned window mode and remember mandatory full-screen across dev restarts. -
restoreFocusAfterShow
public static void restoreFocusAfterShow(javafx.stage.Stage stage) Preserve foreground/background intent after JavaFX maps the recreated native window. -
untrack
public static void untrack(javafx.stage.Stage stage) Drop a route that is being destroyed or replaced by an unmanaged view.
-