public class WindowInfo
extends java.lang.Object
WindowConfig
Modifier and Type | Class and Description |
---|---|
static class |
WindowInfo.Type
Type of registered controller.
|
Modifier | Constructor and Description |
---|---|
|
WindowInfo(java.lang.String id,
WindowAttributesProvider windowAttributesProvider,
org.dom4j.Element descriptor) |
|
WindowInfo(java.lang.String id,
WindowAttributesProvider windowAttributesProvider,
org.dom4j.Element descriptor,
RouteDefinition routeDefinition) |
protected |
WindowInfo(java.lang.String id,
WindowAttributesProvider windowAttributesProvider,
org.dom4j.Element descriptor,
java.lang.String screenClassName,
RouteDefinition routeDefinition) |
|
WindowInfo(java.lang.String id,
WindowAttributesProvider windowAttributesProvider,
java.lang.String screenClassName,
RouteDefinition routeDefinition) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends ScreenFragment> |
asFragment() |
java.lang.Class<? extends Screen> |
asScreen() |
java.lang.Class<? extends FrameOwner> |
getControllerClass() |
java.lang.String |
getControllerClassName()
Screen class as set in
screens.xml |
org.dom4j.Element |
getDescriptor()
The whole XML element of the screen as set in
screens.xml |
java.lang.String |
getId()
Screen ID as set in
screens.xml |
RouteDefinition |
getRouteDefinition() |
java.lang.String |
getTemplate()
Screen template path as set in
screens.xml |
WindowInfo.Type |
getType() |
WindowInfo |
resolve() |
java.lang.String |
toString() |
protected WindowInfo(java.lang.String id, WindowAttributesProvider windowAttributesProvider, org.dom4j.Element descriptor, java.lang.String screenClassName, RouteDefinition routeDefinition)
public WindowInfo(java.lang.String id, WindowAttributesProvider windowAttributesProvider, org.dom4j.Element descriptor)
public WindowInfo(java.lang.String id, WindowAttributesProvider windowAttributesProvider, org.dom4j.Element descriptor, RouteDefinition routeDefinition)
public WindowInfo(java.lang.String id, WindowAttributesProvider windowAttributesProvider, java.lang.String screenClassName, RouteDefinition routeDefinition)
public java.lang.String getId()
screens.xml
public WindowInfo.Type getType()
public WindowInfo resolve()
@Nonnull public java.lang.Class<? extends FrameOwner> getControllerClass()
public java.lang.Class<? extends Screen> asScreen()
public java.lang.Class<? extends ScreenFragment> asFragment()
@Nullable public org.dom4j.Element getDescriptor()
screens.xml
@Nullable public java.lang.String getControllerClassName()
screens.xml
@Nullable public java.lang.String getTemplate()
screens.xml
public RouteDefinition getRouteDefinition()
Route
annotationpublic java.lang.String toString()
toString
in class java.lang.Object