Class JmixUpload

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.upload.GeneratedVaadinUpload<com.vaadin.flow.component.upload.Upload>
com.vaadin.flow.component.upload.Upload
io.jmix.flowui.component.upload.JmixUpload
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasStyle, Serializable, org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

public class JmixUpload extends com.vaadin.flow.component.upload.Upload implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.vaadin.flow.component.upload.GeneratedVaadinUpload

    com.vaadin.flow.component.upload.GeneratedVaadinUpload.FileRejectEvent<R extends com.vaadin.flow.component.upload.GeneratedVaadinUpload<R>>, com.vaadin.flow.component.upload.GeneratedVaadinUpload.FilesChangeEvent<R extends com.vaadin.flow.component.upload.GeneratedVaadinUpload<R>>, com.vaadin.flow.component.upload.GeneratedVaadinUpload.MaxFilesReachedChangeEvent<R extends com.vaadin.flow.component.upload.GeneratedVaadinUpload<R>>, com.vaadin.flow.component.upload.GeneratedVaadinUpload.UploadAbortEvent<R extends com.vaadin.flow.component.upload.GeneratedVaadinUpload<R>>, com.vaadin.flow.component.upload.GeneratedVaadinUpload.UploadBeforeEvent<R extends com.vaadin.flow.component.upload.GeneratedVaadinUpload<R>>, com.vaadin.flow.component.upload.GeneratedVaadinUpload.UploadErrorEvent<R extends com.vaadin.flow.component.upload.GeneratedVaadinUpload<R>>, com.vaadin.flow.component.upload.GeneratedVaadinUpload.UploadProgressEvent<R extends com.vaadin.flow.component.upload.GeneratedVaadinUpload<R>>, com.vaadin.flow.component.upload.GeneratedVaadinUpload.UploadRequestEvent<R extends com.vaadin.flow.component.upload.GeneratedVaadinUpload<R>>, com.vaadin.flow.component.upload.GeneratedVaadinUpload.UploadResponseEvent<R extends com.vaadin.flow.component.upload.GeneratedVaadinUpload<R>>, com.vaadin.flow.component.upload.GeneratedVaadinUpload.UploadRetryEvent<R extends com.vaadin.flow.component.upload.GeneratedVaadinUpload<R>>, com.vaadin.flow.component.upload.GeneratedVaadinUpload.UploadStartEvent<R extends com.vaadin.flow.component.upload.GeneratedVaadinUpload<R>>, com.vaadin.flow.component.upload.GeneratedVaadinUpload.UploadSuccessEvent<R extends com.vaadin.flow.component.upload.GeneratedVaadinUpload<R>>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.springframework.context.ApplicationContext
     
    protected Messages
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected void
     
    void
    setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
     

    Methods inherited from class com.vaadin.flow.component.upload.Upload

    addAllFinishedListener, addFailedListener, addFileRejectedListener, addFinishedListener, addProgressListener, addStartedListener, addSucceededListener, clearFileList, fireUpdateProgress, getAcceptedFileTypes, getDropLabel, getDropLabelIcon, getI18n, getMaxFiles, getMaxFileSize, getReceiver, getUploadButton, interruptUpload, isAutoUpload, isDropAllowed, isUploading, onAttach, setAcceptedFileTypes, setAutoUpload, setDropAllowed, setDropLabel, setDropLabelIcon, setI18n, setMaxFiles, setMaxFileSize, setReceiver, setUploadButton

    Methods inherited from class com.vaadin.flow.component.upload.GeneratedVaadinUpload

    addFileRejectListener, addFilesChangeListener, addMaxFilesReachedChangeListener, addToAddButton, addToDropLabel, addToDropLabelIcon, addToFileList, addUploadAbortListener, addUploadBeforeListener, addUploadErrorListener, addUploadProgressListener, addUploadRequestListener, addUploadResponseListener, addUploadRetryListener, addUploadStartListener, addUploadSuccessListener, getAcceptString, getCaptureString, getFilesJsonArray, getFormDataNameString, getHeadersJsonObject, getI18nJsonObject, getMaxFilesDouble, getMaxFileSizeDouble, getMethodString, getTargetString, getTimeoutDouble, isMaxFilesReachedBoolean, isNoAutoBoolean, isNodropBoolean, isWithCredentialsBoolean, remove, removeAll, setAccept, setCapture, setFiles, setFormDataName, setHeaders, setI18n, setMaxFiles, setMaxFileSize, setMethod, setNoAuto, setNodrop, setTarget, setTimeout, setWithCredentials, uploadFiles

    Methods inherited from class com.vaadin.flow.component.Component

    addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onDetach, onEnabledStateChanged, scrollIntoView, set, setElement, setId, setVisible

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.flow.component.AttachNotifier

    addAttachListener

    Methods inherited from interface com.vaadin.flow.component.DetachNotifier

    addDetachListener

    Methods inherited from interface com.vaadin.flow.component.HasElement

    getElement

    Methods inherited from interface com.vaadin.flow.component.HasSize

    getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull

    Methods inherited from interface com.vaadin.flow.component.HasStyle

    addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
  • Field Details

    • messages

      protected Messages messages
    • applicationContext

      protected org.springframework.context.ApplicationContext applicationContext
  • Constructor Details

    • JmixUpload

      public JmixUpload()
  • Method Details

    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • initI18n

      protected void initI18n()