Class FileUploadFinishedEvent<C extends com.vaadin.flow.component.Component>
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<C>
io.jmix.flowui.kit.component.upload.event.FileUploadFinishedEvent<C>
- Type Parameters:
C
- type of upload field
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FileUploadFailedEvent
,FileUploadSucceededEvent
public class FileUploadFinishedEvent<C extends com.vaadin.flow.component.Component>
extends com.vaadin.flow.component.ComponentEvent<C>
Event is fired when
FinishedEvent
of Upload
is occurred. See
Upload.addFinishedListener(ComponentEventListener)
for details.- See Also:
-
FinishedEvent
- Serialized Form
-
Field Summary
Modifier and TypeFieldDescriptionprotected final String
protected final long
protected final String
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionFileUploadFinishedEvent
(C source, String fileName, String mimeType, long length) -
Method Summary
Modifier and TypeMethodDescriptionlong
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
Methods inherited from class java.util.EventObject
toString
-
Field Details
-
length
protected final long length -
mimeType
-
fileName
-
-
Constructor Details
-
FileUploadFinishedEvent
-
-
Method Details
-
getFileName
- Returns:
- the file name
-
getMimeType
- Returns:
- the MIME Type of the file
-
getContentLength
public long getContentLength()- Returns:
- the length of the file
-