Class AbstractContainerLoader<T extends com.vaadin.flow.component.Component>
java.lang.Object
io.jmix.flowui.xml.layout.loader.AbstractComponentLoader<T>
io.jmix.flowui.xml.layout.loader.container.AbstractContainerLoader<T>
- All Implemented Interfaces:
ComponentLoader<T>
- Direct Known Subclasses:
AbstractHtmlContainerLoader
,AbstractLayoutLoader
,AbstractScreenLoader
,AccordionLoader
,DetailsLoader
,ScrollerLoader
,SplitLayoutLoader
,TabsLoader
,TabsLoader.TabLoader
public abstract class AbstractContainerLoader<T extends com.vaadin.flow.component.Component>
extends AbstractComponentLoader<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.flowui.xml.layout.ComponentLoader
ComponentLoader.ComponentContext, ComponentLoader.Context, ComponentLoader.InitTask
-
Field Summary
Fields inherited from class io.jmix.flowui.xml.layout.loader.AbstractComponentLoader
applicationContext, context, element, environment, factory, loaderResolver, loaderSupport, resultComponent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
createSubComponents
(com.vaadin.flow.component.HasComponents container, org.dom4j.Element containerElement) protected boolean
isChildElementIgnored
(org.dom4j.Element subElement) Checks if child element should have a separate loader or not.protected void
protected void
loadSubComponentsAndExpand
(com.vaadin.flow.component.HasComponents layout, org.dom4j.Element element) Methods inherited from class io.jmix.flowui.xml.layout.loader.AbstractComponentLoader
componentLoader, createComponent, getComponentContext, getContext, getElement, getFactory, getLayoutLoader, getLayoutLoader, getLoaderResolver, getLoaderSupport, getResultComponent, initComponent, loadBoolean, loadBoolean, loadDouble, loadDouble, loadEnum, loadEnum, loadId, loadInteger, loadInteger, loadResourceString, loadResourceString, loadString, loadString, loadVisible, setApplicationContext, setContext, setElement, setEnvironment, setFactory, setLoaderResolver, setLoaderSupport
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.flowui.xml.layout.ComponentLoader
loadComponent
-
Field Details
-
pendingLoadComponents
-
-
Constructor Details
-
AbstractContainerLoader
public AbstractContainerLoader()
-
-
Method Details
-
loadSubComponents
protected void loadSubComponents() -
createSubComponents
protected void createSubComponents(com.vaadin.flow.component.HasComponents container, org.dom4j.Element containerElement) -
isChildElementIgnored
protected boolean isChildElementIgnored(org.dom4j.Element subElement) Checks if child element should have a separate loader or not. For instance, if a child element doesn't represent a UI component.- Parameters:
subElement
- the element to be checked- Returns:
true
if child element should have no separate loader,false
otherwise
-
loadSubComponentsAndExpand
protected void loadSubComponentsAndExpand(com.vaadin.flow.component.HasComponents layout, org.dom4j.Element element)
-