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 Details

    • bind

      void bind(Context context)
      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()