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:
AbstractDetailsLoader,AbstractHtmlContainerLoader,AbstractLayoutLoader,AbstractViewLoader,AccordionLoader,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
FieldsFields inherited from class io.jmix.flowui.xml.layout.loader.AbstractComponentLoader
applicationContext, componentLoaderSupport, context, element, environment, factory, loaderResolver, loaderSupport, resultComponent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateSubComponents(com.vaadin.flow.component.HasComponents container, org.dom4j.Element containerElement) protected booleanisChildElementIgnored(org.dom4j.Element subElement) Checks if child element should have a separate loader or not.protected voidprotected voidloadSubComponentsAndExpand(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, getLoaderResolver, getLoaderSupport, getResultComponent, initComponent, loadBoolean, loadBoolean, loadDouble, loadDouble, loadEnum, loadEnum, loadId, loadInteger, loadInteger, loadResourceString, loadResourceString, loadString, loadString, loadVisible, setApplicationContext, setContext, setElement, setEnvironment, setFactory, setLoaderResolver, setLoaderSupportMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
trueif child element should have no separate loader,falseotherwise
-
loadSubComponentsAndExpand
protected void loadSubComponentsAndExpand(com.vaadin.flow.component.HasComponents layout, org.dom4j.Element element)
-