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:
  • Field Summary

    Fields inherited from class java.util.EventObject

    source
  • Constructor Summary

    Constructors
    Constructor
    Description
    FileRemovedEvent(com.vaadin.flow.component.Component source, boolean fromClient, String fileName)
    Creates a new event.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the name of the removed file.

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

    getSource, getUI, 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
  • 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