Package com.vaadin.flow.component.upload
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
ConstructorsConstructorDescriptionFileRemovedEvent(com.vaadin.flow.component.Component source, boolean fromClient, String fileName) Creates a new event. -
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
FileRemovedEvent
public FileRemovedEvent(com.vaadin.flow.component.Component source, boolean fromClient, String fileName) Creates a new event.- Parameters:
source- the source componentfromClient- whether the event originated from the clientfileName- the name of the removed file
-
-
Method Details
-
getFileName
Gets the name of the removed file.- Returns:
- the file name
-