Class ScreenToolsImpl

java.lang.Object
io.jmix.ui.sys.ScreenToolsImpl
All Implemented Interfaces:
ScreenTools

@Component("ui_ScreenTools") public class ScreenToolsImpl extends Object implements ScreenTools
  • Field Details

  • Constructor Details

    • ScreenToolsImpl

      public ScreenToolsImpl()
  • Method Details

    • setUiProperties

      @Autowired public void setUiProperties(UiProperties uiProperties)
    • setMetadata

      @Autowired public void setMetadata(Metadata metadata)
    • setWindowConfig

      @Autowired public void setWindowConfig(WindowConfig windowConfig)
    • setUserSettingService

      @Autowired(required=false) public void setUserSettingService(UserSettingService userSettingService)
    • openDefaultScreen

      public void openDefaultScreen(Screens screens)
      Description copied from interface: ScreenTools
      Opens default screen.

      Default screen can be defined with the jmix.ui.defaultScreenId application property.

      Specified by:
      openDefaultScreen in interface ScreenTools
      Parameters:
      screens - Screens bean reference
    • setDefaultScreenWindow

      protected void setDefaultScreenWindow(Window window)
    • getEntityToEdit

      protected Object getEntityToEdit(String screenId)
    • handleRedirect

      public void handleRedirect()
      Description copied from interface: ScreenTools
      Handle redirect if it is scheduled.
      Specified by:
      handleRedirect in interface ScreenTools