com.vaadin.ui
Class Upload.ChangeEvent

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

public static class Upload.ChangeEvent
extends Component.Event

Upload.ChangeEvent event is sent when the value (filename) of the upload changes.

Since:
7.2
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
Upload.ChangeEvent(Upload source, java.lang.String filename)
           
 
Method Summary
 java.lang.String getFilename()
          Gets the file name.
 Upload getSource()
          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
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Upload.ChangeEvent

public Upload.ChangeEvent(Upload source,
                          java.lang.String filename)
Method Detail

getSource

public Upload getSource()
Uploads where the event occurred.

Overrides:
getSource in class java.util.EventObject
Returns:
the Source of the event.

getFilename

public java.lang.String getFilename()
Gets the file name.

Returns:
the filename.


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.