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
pendingLoadComponents
Fields 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.HorizontalLayout
protected com.vaadin.flow.component.Component
createSlotChild
(org.dom4j.Element element) protected boolean
isChildElementIgnored
(org.dom4j.Element subElement) Checks if child element should have a separate loader or not.void
Loads component properties by XML definition.protected void
loadSlot
(String slotName, Consumer<Collection<com.vaadin.flow.component.Component>> setter) Methods inherited from class io.jmix.flowui.xml.layout.loader.container.AbstractLayoutLoader
initComponent, loadThemeNames, split
Methods inherited from class io.jmix.flowui.xml.layout.loader.container.AbstractContainerLoader
createSubComponents, loadSubComponents, loadSubComponentsAndExpand
Methods inherited from class io.jmix.flowui.xml.layout.loader.AbstractComponentLoader
componentLoader, getComponentContext, getContext, 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:
createComponent
in classAbstractComponentLoader<com.vaadin.flow.component.orderedlayout.HorizontalLayout>
-
loadComponent
public void loadComponent()Description copied from interface:ComponentLoader
Loads component properties by XML definition.- Specified by:
loadComponent
in interfaceComponentLoader<com.vaadin.flow.component.orderedlayout.HorizontalLayout>
- Overrides:
loadComponent
in 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:AbstractContainerLoader
Checks if child element should have a separate loader or not. For instance, if a child element doesn't represent a UI component.- Overrides:
isChildElementIgnored
in classAbstractContainerLoader<com.vaadin.flow.component.orderedlayout.HorizontalLayout>
- Parameters:
subElement
- the element to be checked- Returns:
true
if child element should have no separate loader,false
otherwise
-