Class FileUploadSucceededEvent<C extends com.vaadin.flow.component.Component,V>
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<C>
io.jmix.flowui.kit.component.upload.event.FileUploadFinishedEvent<C>
io.jmix.flowui.kit.component.upload.event.FileUploadSucceededEvent<C,V>
- Type Parameters:
C- type of upload fieldV- type of data in an upload field
- All Implemented Interfaces:
Serializable
public class FileUploadSucceededEvent<C extends com.vaadin.flow.component.Component,V>
extends FileUploadFinishedEvent<C>
Event is fired when
SucceededEvent of Upload is occurred.- See Also:
-
Field Summary
FieldsFields inherited from class io.jmix.flowui.kit.component.upload.event.FileUploadFinishedEvent
fileName, length, mimeTypeFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionFileUploadSucceededEvent(C source, String fileName, String mimeType, long length, com.vaadin.flow.component.upload.Receiver receiver) Deprecated, for removal: This API element is subject to removal in a future version.FileUploadSucceededEvent(C source, String fileName, String mimeType, long length, V data) -
Method Summary
Modifier and TypeMethodDescriptiongetData()<T extends com.vaadin.flow.component.upload.Receiver>
TDeprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class io.jmix.flowui.kit.component.upload.event.FileUploadFinishedEvent
getContentLength, getFileName, getMimeTypeMethods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Field Details
-
receiver
protected com.vaadin.flow.component.upload.Receiver receiver -
data
-
-
Constructor Details
-
FileUploadSucceededEvent
@Deprecated(since="3.0", forRemoval=true) public FileUploadSucceededEvent(C source, String fileName, String mimeType, long length, com.vaadin.flow.component.upload.Receiver receiver) Deprecated, for removal: This API element is subject to removal in a future version. -
FileUploadSucceededEvent
-
-
Method Details
-
getData
-
getReceiver
@Deprecated(since="3.0", forRemoval=true) public <T extends com.vaadin.flow.component.upload.Receiver> T getReceiver()Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- receiver that contains information about uploaded file
- See Also:
-