Package io.jmix.ui.xml.layout.loader
Class FileUploadFieldLoader<T extends Field & SingleFileUploadField>
java.lang.Object
io.jmix.ui.xml.layout.loader.AbstractComponentLoader<T>
io.jmix.ui.xml.layout.loader.AbstractFieldLoader<T>
io.jmix.ui.xml.layout.loader.FileUploadFieldLoader<T>
- All Implemented Interfaces:
ComponentLoader<T>
- Direct Known Subclasses:
FileStorageUploadFieldLoader
,WebdavDocumentUploadFieldLoader
public class FileUploadFieldLoader<T extends Field & SingleFileUploadField>
extends AbstractFieldLoader<T>
-
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 void
loadAccept
(UploadField uploadField, org.dom4j.Element element) protected void
loadClearButton
(SingleFileUploadField resultComponent, org.dom4j.Element element) void
Loads component properties by XML definition.protected void
loadDropZone
(UploadField uploadField, org.dom4j.Element element) protected void
protected void
loadPasteZone
(UploadField uploadField, org.dom4j.Element element) protected void
loadPermittedExtensions
(UploadField uploadField, org.dom4j.Element element) protected void
loadShowFileName
(SingleFileUploadField resultComponent, org.dom4j.Element element) protected void
loadUploadButton
(SingleFileUploadField resultComponent, org.dom4j.Element element) 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, 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
-
FileUploadFieldLoader
public FileUploadFieldLoader()
-
-
Method Details
-
loadComponent
public void loadComponent()Description copied from interface:ComponentLoader
Loads component properties by XML definition.- Specified by:
loadComponent
in interfaceComponentLoader<T extends Field & SingleFileUploadField>
- Overrides:
loadComponent
in classAbstractFieldLoader<T extends Field & SingleFileUploadField>
- See Also:
-
loadFileSizeLimit
protected void loadFileSizeLimit() -
loadUploadButton
-
loadClearButton
-
loadShowFileName
-
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:
-
loadAccept
-
loadPermittedExtensions
-
loadDropZone
-
loadPasteZone
-