Package io.jmix.ui.xml.layout.loader
Class EntityComboBoxLoader
java.lang.Object
io.jmix.ui.xml.layout.loader.AbstractComponentLoader<T>
io.jmix.ui.xml.layout.loader.AbstractFieldLoader<ComboBox>
io.jmix.ui.xml.layout.loader.ComboBoxLoader
io.jmix.ui.xml.layout.loader.EntityComboBoxLoader
- All Implemented Interfaces:
ComponentLoader<ComboBox>
-
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 TypeMethodDescriptionprotected void
protected boolean
void
Creates result component by XML-element and loads its Id.protected EntityFieldCreationSupport
Returns previously created instance of component.protected void
loadCaptionProperty
(ComboBox resultComponent, org.dom4j.Element element) void
Loads component properties by XML definition.protected void
protected Action
loadDeclarativeAction
(ActionsHolder actionsHolder, org.dom4j.Element element) Methods inherited from class io.jmix.ui.xml.layout.loader.ComboBoxLoader
loadFilterMode, loadNullOptionVisible, loadOptionsEnum, loadTextInputAllowed
Methods inherited from class io.jmix.ui.xml.layout.loader.AbstractFieldLoader
loadBuffered, loadDatatype
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, getTheme, initAction, loadAction, loadActionConstraint, loadActionId, loadActions, loadAlign, loadBoolean, loadBoolean, loadBorder, loadCaption, loadCaptionAsHtml, loadCollapsible, loadContainer, loadContainer, loadContextHelp, loadCss, 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
-
EntityComboBoxLoader
public EntityComboBoxLoader()
-
-
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.- Specified by:
createComponent
in interfaceComponentLoader<ComboBox>
- Overrides:
createComponent
in classComboBoxLoader
- See Also:
-
getResultComponent
Description copied from interface:ComponentLoader
Returns previously created instance of component.- Specified by:
getResultComponent
in interfaceComponentLoader<ComboBox>
- Overrides:
getResultComponent
in classAbstractComponentLoader<ComboBox>
- See Also:
-
loadComponent
public void loadComponent()Description copied from interface:ComponentLoader
Loads component properties by XML definition.- Specified by:
loadComponent
in interfaceComponentLoader<ComboBox>
- Overrides:
loadComponent
in classComboBoxLoader
- See Also:
-
loadData
- Overrides:
loadData
in classAbstractComponentLoader<ComboBox>
-
addDefaultActions
protected void addDefaultActions() -
addGloballyDefaultActions
protected boolean addGloballyDefaultActions() -
getEntityFieldCreationSupport
-
loadDeclarativeAction
- Overrides:
loadDeclarativeAction
in classAbstractComponentLoader<ComboBox>
-
loadCaptionProperty
-