Class HorizontalLayoutLoader
java.lang.Object
io.jmix.flowui.xml.layout.loader.AbstractComponentLoader<T>
io.jmix.flowui.xml.layout.loader.container.AbstractContainerLoader<T>
io.jmix.flowui.xml.layout.loader.container.AbstractLayoutLoader<com.vaadin.flow.component.orderedlayout.HorizontalLayout>
io.jmix.flowui.xml.layout.loader.container.HorizontalLayoutLoader
- All Implemented Interfaces:
ComponentLoader<com.vaadin.flow.component.orderedlayout.HorizontalLayout>
public class HorizontalLayoutLoader
extends AbstractLayoutLoader<com.vaadin.flow.component.orderedlayout.HorizontalLayout>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.flowui.xml.layout.ComponentLoader
ComponentLoader.AutowireTask, ComponentLoader.ComponentContext, ComponentLoader.Context, ComponentLoader.FragmentContext, ComponentLoader.InitTask -
Field Summary
Fields inherited from class io.jmix.flowui.xml.layout.loader.container.AbstractContainerLoader
pendingLoadComponentsFields 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 com.vaadin.flow.component.orderedlayout.HorizontalLayoutprotected com.vaadin.flow.component.ComponentcreateSlotChild(org.dom4j.Element element) protected booleanisChildElementIgnored(org.dom4j.Element subElement) Checks if child element should have a separate loader or not.voidLoads component properties by XML definition.protected voidloadSlot(String slotName, Consumer<Collection<com.vaadin.flow.component.Component>> setter) Methods inherited from class io.jmix.flowui.xml.layout.loader.container.AbstractLayoutLoader
initComponent, loadThemeNames, splitMethods inherited from class io.jmix.flowui.xml.layout.loader.container.AbstractContainerLoader
createSubComponents, loadSubComponents, loadSubComponentsAndExpandMethods inherited from class io.jmix.flowui.xml.layout.loader.AbstractComponentLoader
componentLoader, getComponentContext, getContext, getElement, getElement, getFactory, getLayoutLoader, getLoaderResolver, getLoaderSupport, getResultComponent, loadBoolean, loadBoolean, loadDouble, loadDouble, loadEnum, loadEnum, loadId, loadInteger, loadInteger, loadResourceString, loadResourceString, loadResourceString, loadString, loadString, loadString, loadVisible, setApplicationContext, setContext, setElement, setEnvironment, setFactory, setLoaderResolver, setLoaderSupport
-
Constructor Details
-
HorizontalLayoutLoader
public HorizontalLayoutLoader()
-
-
Method Details
-
createComponent
protected com.vaadin.flow.component.orderedlayout.HorizontalLayout createComponent()- Specified by:
createComponentin classAbstractComponentLoader<com.vaadin.flow.component.orderedlayout.HorizontalLayout>
-
loadComponent
public void loadComponent()Description copied from interface:ComponentLoaderLoads component properties by XML definition.- Specified by:
loadComponentin interfaceComponentLoader<com.vaadin.flow.component.orderedlayout.HorizontalLayout>- Overrides:
loadComponentin classAbstractLayoutLoader<com.vaadin.flow.component.orderedlayout.HorizontalLayout>- See Also:
-
loadSlot
protected void loadSlot(String slotName, Consumer<Collection<com.vaadin.flow.component.Component>> setter) -
createSlotChild
protected com.vaadin.flow.component.Component createSlotChild(org.dom4j.Element element) -
isChildElementIgnored
protected boolean isChildElementIgnored(org.dom4j.Element subElement) Description copied from class:AbstractContainerLoaderChecks if child element should have a separate loader or not. For instance, if a child element doesn't represent a UI component.- Overrides:
isChildElementIgnoredin classAbstractContainerLoader<com.vaadin.flow.component.orderedlayout.HorizontalLayout>- Parameters:
subElement- the element to be checked- Returns:
trueif child element should have no separate loader,falseotherwise
-