Package io.jmix.ui.xml.layout.loader
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.xml.layout.ComponentLoader
ComponentLoader.ComponentContext, ComponentLoader.CompositeComponentContext, ComponentLoader.Context, ComponentLoader.InitTask, ComponentLoader.InjectTask
-
Field Summary
Fields inherited from class io.jmix.ui.xml.layout.loader.AbstractComponentLoader
applicationContext, context, element, environment, factory, layoutLoaderConfig, loaderResolver, loaderSupport, resultComponent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
createSubComponents
(ComponentContainer container, org.dom4j.Element containerElement) protected String
protected boolean
isChildElementIgnored
(org.dom4j.Element subElement) Checks if child element should have a separate loader or not.protected void
loadSpacing
(HasSpacing layout, org.dom4j.Element element) protected void
protected void
loadSubComponentsAndExpand
(ExpandingLayout layout, org.dom4j.Element element) protected void
setComponentsRatio
(ComponentContainer resultComponent, org.dom4j.Element element) Methods inherited from class io.jmix.ui.xml.layout.loader.AbstractComponentLoader
assignFrame, assignXmlDescriptor, findComponent, getActions, getClassManager, getComponentContext, getCompositeComponentContext, getContext, getElement, getFactory, getIconPath, getLayoutLoader, getLayoutLoader, getLayoutLoaderConfig, getLoaderResolver, getLoaderSupport, getMessages, getMessageTools, getMeterRegistry, getParentDataContainer, getProperties, getResultComponent, getTheme, initAction, loadAction, loadActionConstraint, loadActionId, loadActions, loadAlign, loadBoolean, loadBoolean, loadBorder, loadCaption, loadCaptionAsHtml, loadCollapsible, loadContainer, loadContainer, loadContextHelp, loadCss, loadData, loadDeclarativeAction, loadDeclarativeActionByType, loadDeclarativeActionDefault, loadDescription, loadDescriptionAsHtml, loadEditable, loadEnable, loadEnum, loadEnum, loadFocusable, loadFormatter, loadFormatter, loadHeight, loadHeight, loadHtmlSanitizerEnabled, loadIcon, loadId, loadInputPrompt, loadInteger, loadInteger, loadMargin, loadMetaClass, loadMetaClass, loadMinHeight, loadMinHeight, loadMinWidth, loadMinWidth, loadOptionsContainer, loadOrientation, loadRequired, loadRequiredIndicatorVisible, loadResourceString, loadResponsive, loadShortcut, loadShortcutFromAlias, loadShortcutFromConfig, loadShortcutFromFQNConfig, loadString, loadString, loadStyleName, loadTabIndex, loadThemeInt, loadThemeString, loadValidation, loadValuePickerDeclarativeAction, loadVisible, loadWidth, loadWidth, parseMarginInfo, setApplicationContext, setContext, setElement, setEnvironment, setFactory, setLayoutLoaderConfig, setLoaderResolver, setLoaderSupport
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.ui.xml.layout.ComponentLoader
createComponent, loadComponent
-
Field Details
-
pendingLoadComponents
-
-
Constructor Details
-
ContainerLoader
public ContainerLoader()
-
-
Method Details
-
loadSubComponents
protected void loadSubComponents() -
loadSpacing
-
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
-
setComponentsRatio
-
find
-