Package io.jmix.flowui.xml.layout
Class LayoutLoaderConfig
java.lang.Object
io.jmix.flowui.xml.layout.BaseLoaderConfig
io.jmix.flowui.xml.layout.LayoutLoaderConfig
- All Implemented Interfaces:
LoaderConfig
@Order(990)
@Component("flowui_LayoutLoaderConfig")
public class LayoutLoaderConfig
extends BaseLoaderConfig
implements LoaderConfig
-
Field Summary
Modifier and TypeFieldDescriptionprotected Class<? extends MainScreenLoader>
protected Class<? extends ScreenLoader>
Fields inherited from class io.jmix.flowui.xml.layout.BaseLoaderConfig
loaders
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionClass<? extends ComponentLoader>
Class<? extends ComponentLoader>
getLoader
(org.dom4j.Element element) protected org.dom4j.Element
getRootElement
(String rootName, org.dom4j.Element child) Class<? extends ComponentLoader>
getScreenLoader
(org.dom4j.Element root) boolean
supports
(org.dom4j.Element element) Checks whether the config contains a loader that supports the givenelement
.Methods inherited from class io.jmix.flowui.xml.layout.BaseLoaderConfig
initStandardLoaders
-
Field Details
-
screenLoader
-
mainScreenLoader
-
-
Constructor Details
-
LayoutLoaderConfig
public LayoutLoaderConfig()
-
-
Method Details
-
supports
public boolean supports(org.dom4j.Element element) Description copied from interface:LoaderConfig
Checks whether the config contains a loader that supports the givenelement
.- Specified by:
supports
in interfaceLoaderConfig
- Parameters:
element
- element- Returns:
- true if the config contains suitable loader, of false otherwise
-
getLoader
- Specified by:
getLoader
in interfaceLoaderConfig
- Parameters:
element
- element to load- Returns:
ComponentLoader
instance
-
getScreenLoader
- Specified by:
getScreenLoader
in interfaceLoaderConfig
- Parameters:
root
- window's root element- Returns:
- loader class for window or
null
if config does not support givenroot
-
getLoader
-
getRootElement
-