Class FileUploadProgressEvent<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.FileUploadProgressEvent<C>
- Type Parameters:
- C- type of upload field
- All Implemented Interfaces:
- Serializable
public class FileUploadProgressEvent<C extends com.vaadin.flow.component.Component>
extends com.vaadin.flow.component.ComponentEvent<C>
Event is fired when 
ProgressUpdateEvent of Upload is occurred. See
 Upload.addProgressListener(ComponentEventListener) for details.- See Also:
- 
- ProgressUpdateEvent
- Serialized Form
 
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final longprotected final longFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class com.vaadin.flow.component.ComponentEventgetSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObjecttoString
- 
Field Details- 
readBytesprotected final long readBytes
- 
contentLengthprotected final long contentLength
 
- 
- 
Constructor Details- 
FileUploadProgressEvent
 
- 
- 
Method Details- 
getReadBytespublic long getReadBytes()- Returns:
- transferred bytes for the current update
 
- 
getContentLengthpublic long getContentLength()- Returns:
- total file size or -1if unknown
 
 
-