Class UploadSucceededEvent<V>

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<com.vaadin.flow.component.upload.Upload>
com.vaadin.flow.component.upload.FinishedEvent
io.jmix.flowui.component.upload.UploadSucceededEvent<V>
Type Parameters:
V - the type of the file data
All Implemented Interfaces:
Serializable

public class UploadSucceededEvent<V> extends com.vaadin.flow.component.upload.FinishedEvent
Event fired when a file upload succeeds.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final V
     

    Fields inherited from class java.util.EventObject

    source
  • Constructor Summary

    Constructors
    Constructor
    Description
    UploadSucceededEvent(com.vaadin.flow.component.upload.Upload source, V data, String fileName, String mimeType, long length)
    Create an instance of the event.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the received file data.

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

    getContentLength, getFileName, getMIMEType, getUpload

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

    getSource, isFromClient, unregisterListener

    Methods inherited from class java.util.EventObject

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • data

      protected final V data
  • Constructor Details

    • UploadSucceededEvent

      public UploadSucceededEvent(com.vaadin.flow.component.upload.Upload source, V data, String fileName, String mimeType, long length)
      Create an instance of the event.
      Parameters:
      source - the source of the file
      data - the received file data
      fileName - the received file name
      mimeType - the MIME type of the received file
      length - the length of the received file
  • Method Details

    • getData

      public V getData()
      Get the received file data.
      Returns:
      the received file data