Package io.jmix.ui.xml.layout.loader
Class FragmentComponentLoader
java.lang.Object
io.jmix.ui.xml.layout.loader.AbstractComponentLoader<T>
io.jmix.ui.xml.layout.loader.ContainerLoader<Fragment>
io.jmix.ui.xml.layout.loader.FragmentComponentLoader
- All Implemented Interfaces:
ComponentLoader<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.protected Fragment
protected ComponentLoaderContext
protected WindowInfo
createWindowInfo
(org.dom4j.Element element) protected FragmentHelper
protected WindowConfig
protected void
loadAdditionalData
(org.dom4j.Element rootElement) protected void
void
Loads component properties by XML definition.protected List<UiControllerProperty>
loadProperties
(org.dom4j.Element element) protected void
setupScreenContext
(ScreenFragment controller, ScreenContext screenContext) 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, 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
-
fragmentLoader
-
innerContext
-
-
Constructor Details
-
FragmentComponentLoader
public FragmentComponentLoader()
-
-
Method Details
-
createComponent
public void createComponent()Description copied from interface:ComponentLoader
Creates result component by XML-element and loads its Id. Also creates all nested components.- See Also:
-
loadAdditionalData
protected void loadAdditionalData(org.dom4j.Element rootElement) -
createComponentInternal
-
createWindowInfo
-
createInnerContext
-
setupScreenContext
-
getFragmentHelper
-
loadComponent
public void loadComponent()Description copied from interface:ComponentLoader
Loads component properties by XML definition.- See Also:
-
loadProperties
-
loadAliases
protected void loadAliases() -
getWindowConfig
-