Package io.jmix.ui.widget
Class JmixFileUpload.StartedEvent
java.lang.Object
java.util.EventObject
com.vaadin.event.ConnectorEvent
com.vaadin.ui.Component.Event
io.jmix.ui.widget.JmixFileUpload.StartedEvent
- All Implemented Interfaces:
Serializable
- Enclosing class:
- JmixFileUpload
public static class JmixFileUpload.StartedEvent
extends com.vaadin.ui.Component.Event
JmixFileUpload.StartedEvent event is sent when the upload is started to received.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionStartedEvent
(JmixFileUpload source, String fileName, String MIMEType, long contentLength) -
Method Summary
Modifier and TypeMethodDescriptionlong
Gets the file name.Gets the MIME Type of the file.Uploads where the event occurred.Methods inherited from class com.vaadin.ui.Component.Event
getComponent
Methods inherited from class com.vaadin.event.ConnectorEvent
getConnector
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
StartedEvent
-
-
Method Details
-
getUpload
Uploads where the event occurred.- Returns:
- the Source of the event.
-
getFileName
Gets the file name.- Returns:
- the fileName.
-
getMIMEType
Gets the MIME Type of the file.- Returns:
- the MIME type.
-
getContentLength
public long getContentLength()- Returns:
- the contentLength of the file that is being uploaded
-