Class ContainerLoader<T extends Component>

java.lang.Object
io.jmix.ui.xml.layout.loader.AbstractComponentLoader<T>
io.jmix.ui.xml.layout.loader.ContainerLoader<T>
All Implemented Interfaces:
ComponentLoader<T>
Direct Known Subclasses:
AbstractBoxLoader, AccordionLoader, AppWorkAreaLoader, ButtonsPanelLoader, CssLayoutLoader, DrawerLoader, FlowBoxLayoutLoader, FragmentComponentLoader, FragmentLoader, GridLayoutLoader, GroupBoxLayoutLoader, HtmlBoxLayoutLoader, ScrollBoxLayoutLoader, SplitPanelLoader, TabSheetLoader, WindowLoader

public abstract class ContainerLoader<T extends Component> extends AbstractComponentLoader<T>
  • Field Details

  • Constructor Details

    • ContainerLoader

      public ContainerLoader()
  • Method Details

    • loadSubComponents

      protected void loadSubComponents()
    • loadSpacing

      protected void loadSpacing(HasSpacing layout, org.dom4j.Element element)
    • createSubComponents

      protected void createSubComponents(ComponentContainer 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(ExpandingLayout layout, org.dom4j.Element element)
    • setComponentsRatio

      protected void setComponentsRatio(ComponentContainer resultComponent, org.dom4j.Element element)
    • find

      @Nullable protected String find(String[] parts, String name)