Class UploadManager.FileRemovedEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<com.vaadin.flow.component.Component>
com.vaadin.flow.component.upload.UploadManager.FileRemovedEvent
All Implemented Interfaces:
Serializable
Enclosing class:
UploadManager

public static class UploadManager.FileRemovedEvent extends com.vaadin.flow.component.ComponentEvent<com.vaadin.flow.component.Component>
Event fired when a file is removed from the upload manager. The event source is the owner component passed to the UploadManager constructor.
See Also:
  • Constructor Details

    • FileRemovedEvent

      public FileRemovedEvent(com.vaadin.flow.component.Component source, boolean fromClient, String fileName)
      Creates a new event.
      Parameters:
      source - the source component
      fromClient - whether the event originated from the client
      fileName - the name of the removed file
  • Method Details

    • getFileName

      public String getFileName()
      Gets the name of the removed file.
      Returns:
      the file name