Class FileUploadStartedEvent<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.FileUploadStartedEvent<C>
- Type Parameters:
C
- type of upload field
- All Implemented Interfaces:
Serializable
public class FileUploadStartedEvent<C extends com.vaadin.flow.component.Component>
extends com.vaadin.flow.component.ComponentEvent<C>
Event is fired when
StartedEvent
of Upload
is occurred. See
Upload.addStartedListener(ComponentEventListener)
for details.- See Also:
-
StartedEvent
- Serialized Form
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionFileUploadStartedEvent
(C source, String fileName, String mimeType, long contentLength) -
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
-
filename
-
mimeType
-
contentLength
protected long contentLength
-
-
Constructor Details
-
FileUploadStartedEvent
-
-
Method Details
-
getFilename
- Returns:
- the file name
-
getMimeType
- Returns:
- the MIME type
-
getContentLength
public long getContentLength()- Returns:
- the length of the file that is being uploaded
-