Class RootNavigationHandler

java.lang.Object
io.jmix.ui.navigation.navigationhandler.RootNavigationHandler
All Implemented Interfaces:
NavigationHandler

@Component("ui_RootNavigationHandler") @Scope("prototype") @Order(960) public class RootNavigationHandler extends Object implements NavigationHandler
  • Field Details

    • windowConfig

      @Autowired protected WindowConfig windowConfig
    • messages

      @Autowired protected Messages messages
  • Constructor Details

    • RootNavigationHandler

      public RootNavigationHandler()
  • Method Details

    • doHandle

      public boolean doHandle(NavigationState requestedState, AppUI ui)
      Description copied from interface: NavigationHandler
      Performs navigation corresponding the given requestedState.
      Specified by:
      doHandle in interface NavigationHandler
      Parameters:
      requestedState - requested state represented by NavigationState instance
      ui - current UI
      Returns:
      true if requestedState is fully handled by the handler or false if requestedState should be passed through handlers chain
    • rootChanged

      protected boolean rootChanged(NavigationState requestedState, AppUI ui)
    • handle404

      protected void handle404(String route, AppUI ui)