Package io.jmix.tabbedmode.xml.layout
Class TabbedModeLayoutLoaderConfig
java.lang.Object
io.jmix.tabbedmode.xml.layout.TabbedModeLayoutLoaderConfig
- All Implemented Interfaces:
LoaderConfig
@Order(900)
@Component("tabmod_TabbedModeLayoutLoaderConfig")
public class TabbedModeLayoutLoaderConfig
extends Object
implements LoaderConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends ComponentLoader>getLoader(org.dom4j.Element element) Class<? extends ComponentLoader>getViewLoader(org.dom4j.Element root) booleansupports(org.dom4j.Element element) Checks whether the config contains a loader that supports the givenelement.
-
Constructor Details
-
TabbedModeLayoutLoaderConfig
public TabbedModeLayoutLoaderConfig()
-
-
Method Details
-
supports
public boolean supports(org.dom4j.Element element) Description copied from interface:LoaderConfigChecks whether the config contains a loader that supports the givenelement.- Specified by:
supportsin interfaceLoaderConfig- Parameters:
element- element- Returns:
- true if the config contains suitable loader, of false otherwise
-
getLoader
- Specified by:
getLoaderin interfaceLoaderConfig- Parameters:
element- element to load- Returns:
ComponentLoaderinstance
-
getViewLoader
- Specified by:
getViewLoaderin interfaceLoaderConfig- Parameters:
root- view's root element- Returns:
- loader class for view or
nullif config does not support givenroot
-