com.vaadin.flow.component.upload.

Class FileRemovedEvent

All Implemented Interfaces:

Serializable

public class FileRemovedEvent extends 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