Package io.jmix.ui.xml.layout.loader
Class FormLoader
- All Implemented Interfaces:
ComponentLoader<Form>
-
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 TypeMethodDescriptionvoid
Creates result component by XML-element and loads its Id.protected Field
createField
(org.dom4j.Element element) protected MetadataTools
protected UiComponentsGenerator
protected void
loadCaptionPosition
(Form resultComponent, org.dom4j.Element element) protected void
loadChildrenCaptionAlignment
(Form resultComponent, org.dom4j.Element element) protected void
loadChildrenCaptionAlignment
(Form resultComponent, org.dom4j.Element element, int colIndex) protected Form.CaptionAlignment
loadChildrenCaptionAlignment
(org.dom4j.Element element) protected void
loadChildrenCaptionWidth
(Form resultComponent, org.dom4j.Element element) protected void
loadChildrenCaptionWidth
(Form resultComponent, org.dom4j.Element element, int colIndex) protected String
loadChildrenCaptionWidth
(org.dom4j.Element element) protected void
loadColumns
(Form resultComponent, org.dom4j.Element element) void
Loads component properties by XML definition.protected ComponentPosition
loadComponent
(org.dom4j.Element element, String columnWidth, Float flex) protected List<ComponentPosition>
loadComponents
(org.dom4j.Element element, String columnWidth, Float flex) protected void
loadDataContainer
(Form resultComponent, org.dom4j.Element element) protected Field
loadField
(org.dom4j.Element element) protected int
protected void
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
-
Constructor Details
-
FormLoader
public FormLoader()
-
-
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:
-
loadComponent
public void loadComponent()Description copied from interface:ComponentLoader
Loads component properties by XML definition.- See Also:
-
loadDataContainer
-
loadColumns
-
loadComponents
protected List<ComponentPosition> loadComponents(org.dom4j.Element element, @Nullable String columnWidth, @Nullable Float flex) -
loadComponent
protected ComponentPosition loadComponent(org.dom4j.Element element, @Nullable String columnWidth, @Nullable Float flex) -
loadSpan
-
loadField
-
createField
-
loadWidth
-
getMetadataTools
-
getUiComponentsGenerator
-
loadCaptionPosition
-
loadChildrenCaptionWidth
-
loadChildrenCaptionWidth
-
loadChildrenCaptionWidth
protected void loadChildrenCaptionWidth(Form resultComponent, org.dom4j.Element element, int colIndex) -
loadChildrenCaptionAlignment
-
loadChildrenCaptionAlignment
-
loadChildrenCaptionAlignment
protected void loadChildrenCaptionAlignment(Form resultComponent, org.dom4j.Element element, int colIndex)
-