Class FileUploadStartedEvent<C extends com.vaadin.flow.component.Component>

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<C>
io.jmix.flowui.kit.component.upload.event.FileUploadStartedEvent<C>
Type Parameters:
C - type of upload field
All Implemented Interfaces:
Serializable

public class FileUploadStartedEvent<C extends com.vaadin.flow.component.Component> extends com.vaadin.flow.component.ComponentEvent<C>
Event is fired when StartedEvent of Upload is occurred. See Upload.addStartedListener(ComponentEventListener) for details.
See Also:
  • Field Details

    • filename

      protected String filename
    • mimeType

      protected String mimeType
    • contentLength

      protected long contentLength
  • Constructor Details

    • FileUploadStartedEvent

      public FileUploadStartedEvent(C source, String fileName, String mimeType, long contentLength)
  • Method Details

    • getFilename

      public String getFilename()
      Returns:
      the file name
    • getMimeType

      public String getMimeType()
      Returns:
      the MIME type
    • getContentLength

      public long getContentLength()
      Returns:
      the length of the file that is being uploaded