Package io.jmix.ui.xml.layout.loader
Class FragmentLoader
- All Implemented Interfaces:
ComponentLoader<Fragment>
,ComponentRootLoader<Fragment>
public class FragmentLoader
extends ContainerLoader<Fragment>
implements ComponentRootLoader<Fragment>
-
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.ContainerLoader
pendingLoadComponents
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 TypeMethodDescriptionvoid
Creates result component by XML-element and loads its Id.void
createContent
(org.dom4j.Element layoutElement) void
Loads component properties by XML definition.protected void
loadDataElement
(org.dom4j.Element element) protected Action
loadDeclarativeAction
(ActionsHolder actionsHolder, org.dom4j.Element element) protected void
loadFacets
(Fragment resultComponent, org.dom4j.Element fragmentElement) void
setResultComponent
(Fragment fragment) Methods inherited from class io.jmix.ui.xml.layout.loader.ContainerLoader
createSubComponents, find, isChildElementIgnored, loadSpacing, loadSubComponents, loadSubComponentsAndExpand, setComponentsRatio
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, 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
getContext, getElement, getFactory, getLayoutLoaderConfig, getLoaderResolver, getLoaderSupport, getResultComponent, setApplicationContext, setContext, setElement, setEnvironment, setFactory, setLayoutLoaderConfig, setLoaderResolver, setLoaderSupport
-
Constructor Details
-
FragmentLoader
public FragmentLoader()
-
-
Method Details
-
setResultComponent
-
createComponent
public void createComponent()Description copied from interface:ComponentLoader
Creates result component by XML-element and loads its Id. Also creates all nested components.- Specified by:
createComponent
in interfaceComponentLoader<Fragment>
- See Also:
-
createContent
public void createContent(org.dom4j.Element layoutElement) - Specified by:
createContent
in interfaceComponentRootLoader<Fragment>
-
loadComponent
public void loadComponent()Description copied from interface:ComponentLoader
Loads component properties by XML definition.- Specified by:
loadComponent
in interfaceComponentLoader<Fragment>
- See Also:
-
loadDataElement
protected void loadDataElement(org.dom4j.Element element) -
loadFacets
-
loadDeclarativeAction
- Overrides:
loadDeclarativeAction
in classAbstractComponentLoader<Fragment>
-