Package com.vaadin.v7.ui
Class Upload.StartedEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.event.ConnectorEvent
-
- com.vaadin.ui.Component.Event
-
- com.vaadin.v7.ui.Upload.StartedEvent
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Upload
@Deprecated public static class Upload.StartedEvent extends Component.Event
Deprecated.Upload.StartedEvent event is sent when the upload is started to received.- Since:
- 5.0
- Author:
- Vaadin Ltd.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description StartedEvent(Upload source, String filename, String mimeType, long contentLength)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description longgetContentLength()Deprecated.StringgetFilename()Deprecated.Gets the file name.StringgetMIMEType()Deprecated.Gets the MIME Type of the file.UploadgetUpload()Deprecated.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
-
-
-
-
Method Detail
-
getUpload
public Upload getUpload()
Deprecated.Uploads where the event occurred.- Returns:
- the Source of the event.
-
getFilename
public String getFilename()
Deprecated.Gets the file name.- Returns:
- the filename.
-
getMIMEType
public String getMIMEType()
Deprecated.Gets the MIME Type of the file.- Returns:
- the MIME type.
-
getContentLength
public long getContentLength()
Deprecated.- Returns:
- the length of the file that is being uploaded
-
-