Class ComponentLoaderSupport
java.lang.Object
io.jmix.flowui.xml.layout.support.ComponentLoaderSupport
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Component("flowui_ComponentLoaderSupport")
@Scope("prototype")
public class ComponentLoaderSupport
extends Object
implements org.springframework.context.ApplicationContextAware
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
protected ComponentLoader.Context
protected DatatypeRegistryImpl
protected org.springframework.core.env.Environment
protected LoaderSupport
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isShortcutCombinationAlias
(String shortcutCombination) protected boolean
isShortcutCombinationConfig
(String shortcutCombination) protected boolean
isShortcutCombinationFQN
(String shortcutCombination) void
loadAlignItems
(com.vaadin.flow.component.orderedlayout.FlexComponent component, org.dom4j.Element element) void
loadAriaLabel
(com.vaadin.flow.component.HasAriaLabel component, org.dom4j.Element element) void
loadAutocapitalize
(com.vaadin.flow.component.textfield.HasAutocapitalize component, org.dom4j.Element element) void
loadAutocomplete
(com.vaadin.flow.component.textfield.HasAutocomplete component, org.dom4j.Element element) void
loadAutocorrect
(com.vaadin.flow.component.textfield.HasAutocorrect component, org.dom4j.Element element) void
loadAutofocus
(HasAutofocus component, org.dom4j.Element element) void
loadBadge
(com.vaadin.flow.component.HasText component, org.dom4j.Element element) void
loadBoxSizing
(com.vaadin.flow.component.orderedlayout.ThemableLayout layout, org.dom4j.Element element) void
loadClassNames
(com.vaadin.flow.component.HasStyle component, org.dom4j.Element element) void
loadDatatype
(SupportsDatatype<?> component, org.dom4j.Element element) void
loadEnabled
(com.vaadin.flow.component.HasEnabled component, org.dom4j.Element element) void
loadFlexibleAttributes
(com.vaadin.flow.component.orderedlayout.FlexComponent component, org.dom4j.Element element) void
loadFormatter
(SupportsFormatter component, org.dom4j.Element element) loadFormatter
(org.dom4j.Element element) void
loadHeight
(com.vaadin.flow.component.HasSize component, org.dom4j.Element element) void
loadHelperText
(com.vaadin.flow.component.HasHelper component, org.dom4j.Element element) Optional<com.vaadin.flow.component.icon.Icon>
loadIcon
(org.dom4j.Element element) void
void
loadJustifyContent
(com.vaadin.flow.component.orderedlayout.FlexComponent component, org.dom4j.Element element) void
loadLabel
(com.vaadin.flow.component.HasLabel component, org.dom4j.Element element) void
loadMargin
(com.vaadin.flow.component.orderedlayout.ThemableLayout layout, org.dom4j.Element element) void
loadMaxHeight
(com.vaadin.flow.component.HasSize component, org.dom4j.Element element) void
loadMaxWidth
(com.vaadin.flow.component.HasSize component, org.dom4j.Element element) void
loadMinHeight
(com.vaadin.flow.component.HasSize component, org.dom4j.Element element) void
loadMinWidth
(com.vaadin.flow.component.HasSize component, org.dom4j.Element element) void
loadPadding
(com.vaadin.flow.component.orderedlayout.ThemableLayout layout, org.dom4j.Element element) void
loadPlaceholder
(HasPlaceholder component, org.dom4j.Element element) void
loadRequired
(HasRequired resultComponent, org.dom4j.Element element, ComponentLoader.Context context) protected String
loadResourceString
(String message) loadShortcutCombination
(org.dom4j.Element element) protected String
loadShortcutCombinationFromAlias
(String shortcutCombination) protected String
loadShortcutCombinationFromConfig
(String shortcutCombination) protected String
loadShortcutCombinationFromFQNConfig
(String shortcutCombination) void
loadSizeAttributes
(com.vaadin.flow.component.HasSize component, org.dom4j.Element element) void
loadSpacing
(com.vaadin.flow.component.orderedlayout.ThemableLayout layout, org.dom4j.Element element) void
loadText
(com.vaadin.flow.component.HasText component, org.dom4j.Element element) void
loadThemableAttributes
(com.vaadin.flow.component.orderedlayout.ThemableLayout layout, org.dom4j.Element element) void
loadThemeNames
(com.vaadin.flow.component.HasTheme component, org.dom4j.Element element) void
loadTitle
(HasTitle component, org.dom4j.Element element, ComponentLoader.Context context) protected void
loadValidation
(SupportsValidation<?> component, org.dom4j.Element element) void
loadValidationAttributes
(com.vaadin.flow.component.HasValidation component, org.dom4j.Element element, ComponentLoader.Context context) void
loadValueAndElementAttributes
(com.vaadin.flow.component.HasValueAndElement<?, ?> component, org.dom4j.Element element) void
loadValueChangeMode
(com.vaadin.flow.data.value.HasValueChangeMode component, org.dom4j.Element element) void
loadWhiteSpace
(com.vaadin.flow.component.HasText component, org.dom4j.Element element) void
loadWidth
(com.vaadin.flow.component.HasSize component, org.dom4j.Element element) void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext) void
setDatatypeRegistry
(DatatypeRegistryImpl datatypeRegistry) void
setEnvironment
(org.springframework.core.env.Environment environment) void
setLoaderSupport
(LoaderSupport loaderSupport) protected void
-
Field Details
-
context
-
loaderSupport
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
environment
protected org.springframework.core.env.Environment environment -
datatypeRegistry
-
-
Constructor Details
-
ComponentLoaderSupport
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
-
setEnvironment
@Autowired public void setEnvironment(org.springframework.core.env.Environment environment) -
setLoaderSupport
-
setDatatypeRegistry
-
loadResourceString
-
loadDatatype
-
loadSpacing
public void loadSpacing(com.vaadin.flow.component.orderedlayout.ThemableLayout layout, org.dom4j.Element element) -
loadMargin
public void loadMargin(com.vaadin.flow.component.orderedlayout.ThemableLayout layout, org.dom4j.Element element) -
loadPadding
public void loadPadding(com.vaadin.flow.component.orderedlayout.ThemableLayout layout, org.dom4j.Element element) -
loadBoxSizing
public void loadBoxSizing(com.vaadin.flow.component.orderedlayout.ThemableLayout layout, org.dom4j.Element element) -
loadThemableAttributes
public void loadThemableAttributes(com.vaadin.flow.component.orderedlayout.ThemableLayout layout, org.dom4j.Element element) -
loadAlignItems
public void loadAlignItems(com.vaadin.flow.component.orderedlayout.FlexComponent component, org.dom4j.Element element) -
loadJustifyContent
public void loadJustifyContent(com.vaadin.flow.component.orderedlayout.FlexComponent component, org.dom4j.Element element) -
loadFlexibleAttributes
public void loadFlexibleAttributes(com.vaadin.flow.component.orderedlayout.FlexComponent component, org.dom4j.Element element) -
loadText
public void loadText(com.vaadin.flow.component.HasText component, org.dom4j.Element element) -
loadTitle
public void loadTitle(HasTitle component, org.dom4j.Element element, ComponentLoader.Context context) -
loadLabel
public void loadLabel(com.vaadin.flow.component.HasLabel component, org.dom4j.Element element) -
loadRequired
public void loadRequired(HasRequired resultComponent, org.dom4j.Element element, ComponentLoader.Context context) -
loadValueChangeMode
public void loadValueChangeMode(com.vaadin.flow.data.value.HasValueChangeMode component, org.dom4j.Element element) -
loadThemeNames
public void loadThemeNames(com.vaadin.flow.component.HasTheme component, org.dom4j.Element element) -
loadClassNames
public void loadClassNames(com.vaadin.flow.component.HasStyle component, org.dom4j.Element element) -
loadBadge
public void loadBadge(com.vaadin.flow.component.HasText component, org.dom4j.Element element) -
loadValueAndElementAttributes
public void loadValueAndElementAttributes(com.vaadin.flow.component.HasValueAndElement<?, ?> component, org.dom4j.Element element) -
loadValidationAttributes
public void loadValidationAttributes(com.vaadin.flow.component.HasValidation component, org.dom4j.Element element, ComponentLoader.Context context) -
loadFormatter
-
loadHelperText
public void loadHelperText(com.vaadin.flow.component.HasHelper component, org.dom4j.Element element) -
loadPlaceholder
-
loadAutofocus
-
loadAutocomplete
public void loadAutocomplete(com.vaadin.flow.component.textfield.HasAutocomplete component, org.dom4j.Element element) -
loadAutocapitalize
public void loadAutocapitalize(com.vaadin.flow.component.textfield.HasAutocapitalize component, org.dom4j.Element element) -
loadAutocorrect
public void loadAutocorrect(com.vaadin.flow.component.textfield.HasAutocorrect component, org.dom4j.Element element) -
loadEnabled
public void loadEnabled(com.vaadin.flow.component.HasEnabled component, org.dom4j.Element element) -
loadAriaLabel
public void loadAriaLabel(com.vaadin.flow.component.HasAriaLabel component, org.dom4j.Element element) -
loadWhiteSpace
public void loadWhiteSpace(com.vaadin.flow.component.HasText component, org.dom4j.Element element) -
loadWidth
public void loadWidth(com.vaadin.flow.component.HasSize component, org.dom4j.Element element) -
loadMaxWidth
public void loadMaxWidth(com.vaadin.flow.component.HasSize component, org.dom4j.Element element) -
loadMinWidth
public void loadMinWidth(com.vaadin.flow.component.HasSize component, org.dom4j.Element element) -
loadHeight
public void loadHeight(com.vaadin.flow.component.HasSize component, org.dom4j.Element element) -
loadMaxHeight
public void loadMaxHeight(com.vaadin.flow.component.HasSize component, org.dom4j.Element element) -
loadMinHeight
public void loadMinHeight(com.vaadin.flow.component.HasSize component, org.dom4j.Element element) -
loadSizeAttributes
public void loadSizeAttributes(com.vaadin.flow.component.HasSize component, org.dom4j.Element element) -
loadIcon
-
loadIcon
public void loadIcon(org.dom4j.Element element, Consumer<com.vaadin.flow.component.icon.Icon> setter) -
loadShortcutCombination
-
isShortcutCombinationFQN
-
loadShortcutCombinationFromFQNConfig
-
isShortcutCombinationConfig
-
loadShortcutCombinationFromConfig
-
isShortcutCombinationAlias
-
loadShortcutCombinationFromAlias
-
split
-
loadFormatter
-
loadValidation
-