Package io.jmix.ui.xml.layout.loader
Class HtmlBoxLayoutLoader
java.lang.Object
io.jmix.ui.xml.layout.loader.AbstractComponentLoader<T>
io.jmix.ui.xml.layout.loader.ContainerLoader<HtmlBoxLayout>
io.jmix.ui.xml.layout.loader.HtmlBoxLayoutLoader
- All Implemented Interfaces:
ComponentLoader<HtmlBoxLayout>
-
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
FieldsFields inherited from class io.jmix.ui.xml.layout.loader.ContainerLoader
pendingLoadComponentsFields inherited from class io.jmix.ui.xml.layout.loader.AbstractComponentLoader
applicationContext, context, element, environment, factory, layoutLoaderConfig, loaderResolver, loaderSupport, resultComponent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCreates result component by XML-element and loads its Id.protected booleanisChildElementIgnored(org.dom4j.Element subElement) Checks if child element should have a separate loader or not.voidLoads component properties by XML definition.protected voidloadTemplate(HtmlBoxLayout htmlBox, org.dom4j.Element element) protected voidloadTemplateContents(HtmlBoxLayout htmlBox, org.dom4j.Element element) Methods inherited from class io.jmix.ui.xml.layout.loader.ContainerLoader
createSubComponents, find, loadSpacing, loadSubComponents, loadSubComponentsAndExpand, setComponentsRatioMethods 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
-
Field Details
-
TEMPLATE_CONTENTS_ELEMENT_NAME
- See Also:
-
-
Constructor Details
-
HtmlBoxLayoutLoader
public HtmlBoxLayoutLoader()
-
-
Method Details
-
createComponent
public void createComponent()Description copied from interface:ComponentLoaderCreates result component by XML-element and loads its Id. Also creates all nested components.- See Also:
-
isChildElementIgnored
protected boolean isChildElementIgnored(org.dom4j.Element subElement) Description copied from class:ContainerLoaderChecks if child element should have a separate loader or not. For instance, if a child element doesn't represent a UI component.- Overrides:
isChildElementIgnoredin classContainerLoader<HtmlBoxLayout>- Parameters:
subElement- the element to be checked- Returns:
trueif child element should have no separate loader,falseotherwise
-
loadComponent
public void loadComponent()Description copied from interface:ComponentLoaderLoads component properties by XML definition.- See Also:
-
loadTemplate
-
loadTemplateContents
-