Package io.jmix.ui

Class WindowInfo

java.lang.Object
io.jmix.ui.WindowInfo
Direct Known Subclasses:
WindowConfig.ResolvedWindowInfo

public class WindowInfo extends Object
Screen's registration information.
See Also:
  • Constructor Details

  • Method Details

    • getId

      public String getId()
      Screen ID as set in screens.xml
    • getType

      public WindowInfo.Type getType()
      Returns:
      type of registered window: SCREEN or FRAGMENT
    • resolve

      public WindowInfo resolve()
      Returns:
      detached window info instance
    • getControllerClass

      public Class<? extends FrameOwner> getControllerClass()
    • asScreen

      public Class<? extends Screen> asScreen()
    • asFragment

      public Class<? extends ScreenFragment> asFragment()
    • getDescriptor

      @Nullable public org.dom4j.Element getDescriptor()
      The whole XML element of the screen as set in screens.xml
    • getControllerClassName

      @Nullable public String getControllerClassName()
      Screen class as set in screens.xml
      Returns:
      screen class name
    • getTemplate

      @Nullable public String getTemplate()
      Screen template path as set in screens.xml
      Returns:
      screen template path
    • getRouteDefinition

      @Nullable public RouteDefinition getRouteDefinition()
      Returns:
      route definition configured with Route annotation
    • toString

      public String toString()
      Overrides:
      toString in class Object