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>
  • Constructor Details

    • HorizontalLayoutLoader

      public HorizontalLayoutLoader()
  • Method Details

    • createComponent

      protected com.vaadin.flow.component.orderedlayout.HorizontalLayout createComponent()
      Specified by:
      createComponent in class AbstractComponentLoader<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 interface ComponentLoader<com.vaadin.flow.component.orderedlayout.HorizontalLayout>
      Overrides:
      loadComponent in class AbstractLayoutLoader<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 class AbstractContainerLoader<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