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
FieldsFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionFileUploadStartedEvent(C source, String fileName, String mimeType, long contentLength) -
Method Summary
Modifier and TypeMethodDescriptionlongDeprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Field Details
-
filename
-
mimeType
-
contentLength
protected long contentLength
-
-
Constructor Details
-
FileUploadStartedEvent
-
-
Method Details
-
getFilename
Deprecated, for removal: This API element is subject to removal in a future version.UsegetFileName()instead- Returns:
- the file name
-
getFileName
- Returns:
- the file name
-
getMimeType
- Returns:
- the MIME type
-
getContentLength
public long getContentLength()- Returns:
- the length of the file that is being uploaded
-
getFileName()instead