com.vaadin.ui
Class Upload.StartedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.vaadin.ui.Component.Event
          extended by com.vaadin.ui.Upload.StartedEvent
All Implemented Interfaces:
Serializable
Enclosing class:
Upload

public class Upload.StartedEvent
extends Component.Event

Upload.Started event is sent when the upload is started to received.

Since:
5.0
Version:
6.4.1
Author:
IT Mill Ltd.
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
Upload.StartedEvent(Upload source, String filename, String MIMEType)
           
 
Method Summary
 String getFilename()
          Gets the file name.
 String getMIMEType()
          Gets the MIME Type of the file.
 Upload getUpload()
          Uploads where the event occurred.
 
Methods inherited from class com.vaadin.ui.Component.Event
getComponent
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Upload.StartedEvent

public Upload.StartedEvent(Upload source,
                           String filename,
                           String MIMEType)
Parameters:
source -
filename -
MIMEType -
length -
Method Detail

getUpload

public Upload getUpload()
Uploads where the event occurred.

Returns:
the Source of the event.

getFilename

public String getFilename()
Gets the file name.

Returns:
the filename.

getMIMEType

public String getMIMEType()
Gets the MIME Type of the file.

Returns:
the MIME type.


Copyright © 2000-2010 IT Mill Ltd. All Rights Reserved.