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 SummaryFieldsModifier and TypeFieldDescriptionprotected Class<? extends MainViewLoader>protected Class<? extends ViewLoader>Fields inherited from class io.jmix.flowui.xml.layout.BaseLoaderConfigloaders
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionClass<? extends ComponentLoader>Class<? extends ComponentLoader>getLoader(org.dom4j.Element element) protected org.dom4j.ElementgetRootElement(String rootName, org.dom4j.Element child) Class<? extends ComponentLoader>getViewLoader(org.dom4j.Element root) booleansupports(org.dom4j.Element element) Checks whether the config contains a loader that supports the givenelement.Methods inherited from class io.jmix.flowui.xml.layout.BaseLoaderConfiginitStandardLoaders
- 
Field Details- 
viewLoader
- 
mainViewLoader
 
- 
- 
Constructor Details- 
LayoutLoaderConfigpublic LayoutLoaderConfig()
 
- 
- 
Method Details- 
supportspublic boolean supports(org.dom4j.Element element) Description copied from interface:LoaderConfigChecks whether the config contains a loader that supports the givenelement.- Specified by:
- supportsin interface- LoaderConfig
- Parameters:
- element- element
- Returns:
- true if the config contains suitable loader, of false otherwise
 
- 
getLoader- Specified by:
- getLoaderin interface- LoaderConfig
- Parameters:
- element- element to load
- Returns:
- ComponentLoaderinstance
 
- 
getViewLoader- Specified by:
- getViewLoaderin interface- LoaderConfig
- Parameters:
- root- view's root element
- Returns:
- loader class for view or nullif config does not support givenroot
 
- 
getLoader
- 
getRootElement
 
-