Class ScreenSupport

java.lang.Object
io.jmix.flowui.sys.ScreenSupport

@Component("flowui_ScreenSupport") public class ScreenSupport extends Object
  • Field Details

  • Constructor Details

    • ScreenSupport

      public ScreenSupport()
  • Method Details

    • setApplicationContext

      @Autowired public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
    • setScreenXmlLoader

      @Autowired public void setScreenXmlLoader(ScreenXmlLoader screenXmlLoader)
    • setDependencyManager

      @Autowired public void setDependencyManager(UiControllerDependencyManager dependencyManager)
    • setScreenRegistry

      @Autowired public void setScreenRegistry(ScreenRegistry screenRegistry)
    • setNavigationSupport

      @Autowired public void setNavigationSupport(ScreenNavigationSupport navigationSupport)
    • initScreen

      public void initScreen(Screen<?> screen)
    • registerBackNavigation

      public void registerBackNavigation(Class<? extends Screen> screenClass, Class<? extends Screen> backNavigationTarget)
    • registerBackNavigation

      public void registerBackNavigation(com.vaadin.flow.component.UI ui, Class<? extends Screen> screenClass, Class<? extends Screen> backNavigationTarget)
    • registerBackNavigation

      protected void registerBackNavigation(com.vaadin.flow.server.VaadinSession session, String windowName, Class<? extends Screen> screenClass, Class<? extends Screen> backNavigationTarget)
    • unregisterBackNavigation

      public void unregisterBackNavigation(Screen<?> screen)
    • unregisterBackNavigation

      public void unregisterBackNavigation(Class<? extends Screen> screenClass)
    • unregisterBackNavigation

      public void unregisterBackNavigation(com.vaadin.flow.component.UI ui, Class<? extends Screen> screenClass)
    • unregisterBackNavigation

      protected void unregisterBackNavigation(com.vaadin.flow.server.VaadinSession session, String windowName)
    • getLocalizedPageTitle

      public String getLocalizedPageTitle(Screen<?> screen)
      Gets localized page title from the screen.
      Parameters:
      screen - screen to get localized page title
      Returns:
      localized page title or message key if not found or empty string if message key is not defined
      See Also:
      • PageTitle
      • HasDynamicTitle
    • close

      public void close(Screen<?> screen)
    • close

      public void close(com.vaadin.flow.component.UI ui, Screen<?> screen)
    • hasBackNavigationTarget

      protected boolean hasBackNavigationTarget(com.vaadin.flow.component.UI ui, Class<? extends Screen> screenClass)
    • findRouteData

      protected Optional<com.vaadin.flow.router.RouteData> findRouteData(Class<?> target, List<com.vaadin.flow.router.RouteData> routes)
    • retrieveExtendedClientDetails

      protected void retrieveExtendedClientDetails(com.vaadin.flow.component.UI ui, Consumer<com.vaadin.flow.component.page.ExtendedClientDetails> details)
    • getInferredScreenId

      protected String getInferredScreenId(Screen<?> screen)
    • fireScreenInitEvent

      protected void fireScreenInitEvent(Screen<?> screen)
    • loadScreenXml

      @Nullable protected org.dom4j.Element loadScreenXml(ScreenInfo screenInfo)
    • loadMessageGroup

      protected Optional<String> loadMessageGroup(org.dom4j.Element element)
    • createComponentLoaderContext

      protected ComponentLoaderContext createComponentLoaderContext()
    • loadWindowFromXml

      protected void loadWindowFromXml(org.dom4j.Element element, Screen<?> screen, ComponentLoaderContext context)