Class FileRemovedEvent

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

public class FileRemovedEvent extends com.vaadin.flow.component.ComponentEvent<Upload>
Sent when a file selected for upload is removed.
Author:
Vaadin Ltd.
See Also:
  • Constructor Details

    • FileRemovedEvent

      public FileRemovedEvent(Upload source, String fileName)
      Creates a new event using the given source and the removed file name.
      Parameters:
      source - the source component
      fileName - the removed file name
  • Method Details

    • getFileName

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