Package muntjac :: Package ui :: Module upload :: Class SucceededEvent
[hide private]
[frames] | no frames]

Class SucceededEvent

source code

      object --+            
               |            
util.EventObject --+        
                   |        
     component.Event --+    
                       |    
           FinishedEvent --+
                           |
                          SucceededEvent

Upload.SucceededEvent event is sent when the upload is received successfully.


Authors:
Vaadin Ltd., Richard Lincoln

Version: 1.1.2

Instance Methods [hide private]
 
__init__(self, source, filename, MIMEType, length)
Constructs a new event with the specified source component.
source code

Inherited from FinishedEvent: getFilename, getLength, getMIMEType, getUpload

Inherited from component.Event: getComponent

Inherited from util.EventObject: getSource

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]

Inherited from FinishedEvent (private): _filename, _length, _type

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, source, filename, MIMEType, length)
(Constructor)

source code 

Constructs a new event with the specified source component.

Parameters:
  • source - the source of the file.
  • filename - the received file name.
  • MIMEType - the MIME type of the received file.
  • length - the length of the received file.
Overrides: object.__init__
(inherited documentation)