Package io.jmix.ui.xml.layout.loader
Class GridLayoutLoader
java.lang.Object
io.jmix.ui.xml.layout.loader.AbstractComponentLoader<T>
io.jmix.ui.xml.layout.loader.ContainerLoader<GridLayout>
io.jmix.ui.xml.layout.loader.GridLayoutLoader
- All Implemented Interfaces:
ComponentLoader<GridLayout>
-
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 TypeMethodDescriptionprotected void
addSubComponent
(GridLayout grid, Component subComponent, int c1, int r1, int c2, int r2) void
Creates result component by XML-element and loads its Id.protected GridLayout
protected void
createSubComponents
(GridLayout gridLayout, org.dom4j.Element element, int row) protected void
fillSpanMatrix
(int col, int row, int colspan, int rowspan) void
Loads component properties by XML definition.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
-
spanMatrix
protected boolean[][] spanMatrix
-
-
Constructor Details
-
GridLayoutLoader
public GridLayoutLoader()
-
-
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:
-
createComponentInternal
-
loadComponent
public void loadComponent()Description copied from interface:ComponentLoader
Loads component properties by XML definition.- See Also:
-
createSubComponents
-
addSubComponent
protected void addSubComponent(GridLayout grid, Component subComponent, int c1, int r1, int c2, int r2) -
fillSpanMatrix
protected void fillSpanMatrix(int col, int row, int colspan, int rowspan)
-