Package io.jmix.ui
Class WindowInfo
java.lang.Object
io.jmix.ui.WindowInfo
- Direct Known Subclasses:
WindowConfig.ResolvedWindowInfo
Screen's registration information.
- See Also:
-
Nested Class Summary
-
Constructor Summary
ModifierConstructorDescriptionWindowInfo
(String id, WindowAttributesProvider windowAttributesProvider, String screenClassName, RouteDefinition routeDefinition) WindowInfo
(String id, WindowAttributesProvider windowAttributesProvider, org.dom4j.Element descriptor) WindowInfo
(String id, WindowAttributesProvider windowAttributesProvider, org.dom4j.Element descriptor, RouteDefinition routeDefinition) protected
WindowInfo
(String id, WindowAttributesProvider windowAttributesProvider, org.dom4j.Element descriptor, String screenClassName, RouteDefinition routeDefinition) -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends ScreenFragment>
asScreen()
Class<? extends FrameOwner>
Screen class as set inscreens.xml
org.dom4j.Element
The whole XML element of the screen as set inscreens.xml
getId()
Screen ID as set inscreens.xml
Screen template path as set inscreens.xml
getType()
resolve()
toString()
-
Constructor Details
-
WindowInfo
public WindowInfo(String id, WindowAttributesProvider windowAttributesProvider, org.dom4j.Element descriptor)
-
Method Details
-
getId
Screen ID as set inscreens.xml
-
getType
- Returns:
- type of registered window: SCREEN or FRAGMENT
-
resolve
- Returns:
- detached window info instance
-
getControllerClass
-
asScreen
-
asFragment
-
getDescriptor
@Nullable public org.dom4j.Element getDescriptor()The whole XML element of the screen as set inscreens.xml
-
getControllerClassName
Screen class as set inscreens.xml
- Returns:
- screen class name
-
getTemplate
Screen template path as set inscreens.xml
- Returns:
- screen template path
-
getRouteDefinition
- Returns:
- route definition configured with
Route
annotation
-
toString
-