Interface RouterBase
public interface RouterBase
Contract for routers that resolve routes and produce screen views.
Implemented by the concrete router in
megalodonte-router.
Navigation-only: route storage lives in RouteTable and window
spawning lives in megalodonte.base.route.v2.ScreenContextBase.
-
Method Summary
Modifier and TypeMethodDescriptionvoidBinds this router to the application context, enabling navigation.Returns the entrypoint route result for the default route.javafx.stage.StagenavigateAndCloseOthers(String path) navigateOnStage(String path, javafx.stage.Stage selfStage)
-
Method Details
-
bind
Binds this router to the application context, enabling navigation. -
entrypoint
RouteResult entrypoint()Returns the entrypoint route result for the default route. -
mainStage
javafx.stage.Stage mainStage()
-