Class AbstractUploadFieldLoader<C extends AbstractSingleUploadField & SupportsValueSource>
java.lang.Object
io.jmix.flowui.xml.layout.loader.AbstractComponentLoader<C>
io.jmix.flowui.xml.layout.loader.component.AbstractUploadFieldLoader<C>
- All Implemented Interfaces:
ComponentLoader<C>
- Direct Known Subclasses:
FileStorageUploadFieldLoader
,FileUploadFieldLoader
public abstract class AbstractUploadFieldLoader<C extends AbstractSingleUploadField & SupportsValueSource>
extends AbstractComponentLoader<C>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.flowui.xml.layout.ComponentLoader
ComponentLoader.ComponentContext, ComponentLoader.Context, ComponentLoader.InitTask
-
Field Summary
Fields inherited from class io.jmix.flowui.xml.layout.loader.AbstractComponentLoader
applicationContext, componentLoaderSupport, context, element, environment, factory, loaderResolver, loaderSupport, resultComponent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected com.vaadin.flow.component.upload.UploadI18N.Uploading.RemainingTime
getCreateRemainingTime
(com.vaadin.flow.component.upload.UploadI18N.Uploading uploading) protected DataLoaderSupport
protected com.vaadin.flow.component.upload.UploadI18N.Error
getOrCreateError
(JmixUploadI18N jmixUploadI18n) protected com.vaadin.flow.component.upload.UploadI18N.Uploading.Status
getOrCreateStatus
(com.vaadin.flow.component.upload.UploadI18N.Uploading uploading) protected JmixUploadI18N.UploadDialog
getOrCreateUploadDialog
(JmixUploadI18N jmixUploadI18n) protected com.vaadin.flow.component.upload.UploadI18N.Uploading
getOrCreateUploading
(JmixUploadI18N jmixUploadI18n) loadAcceptedFileTypes
(org.dom4j.Element element) void
Loads component properties by XML definition.protected void
Methods inherited from class io.jmix.flowui.xml.layout.loader.AbstractComponentLoader
componentLoader, createComponent, getComponentContext, getContext, getElement, getFactory, getLayoutLoader, getLoaderResolver, getLoaderSupport, getResultComponent, initComponent, loadBoolean, loadBoolean, loadDouble, loadDouble, loadEnum, loadEnum, loadId, loadInteger, loadInteger, loadResourceString, loadResourceString, loadString, loadString, loadVisible, setApplicationContext, setContext, setElement, setEnvironment, setFactory, setLoaderResolver, setLoaderSupport
-
Field Details
-
dataLoaderSupport
-
-
Constructor Details
-
AbstractUploadFieldLoader
public AbstractUploadFieldLoader()
-
-
Method Details
-
loadComponent
public void loadComponent()Description copied from interface:ComponentLoader
Loads component properties by XML definition.- See Also:
-
loadI18N
-
getOrCreateUploadDialog
-
getOrCreateError
protected com.vaadin.flow.component.upload.UploadI18N.Error getOrCreateError(JmixUploadI18N jmixUploadI18n) -
getOrCreateUploading
protected com.vaadin.flow.component.upload.UploadI18N.Uploading getOrCreateUploading(JmixUploadI18N jmixUploadI18n) -
getOrCreateStatus
protected com.vaadin.flow.component.upload.UploadI18N.Uploading.Status getOrCreateStatus(com.vaadin.flow.component.upload.UploadI18N.Uploading uploading) -
getCreateRemainingTime
protected com.vaadin.flow.component.upload.UploadI18N.Uploading.RemainingTime getCreateRemainingTime(com.vaadin.flow.component.upload.UploadI18N.Uploading uploading) -
loadAcceptedFileTypes
-
getDataLoaderSupport
-