Package com.vaadin.ui
Class Upload.ChangeEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.event.ConnectorEvent
-
- com.vaadin.ui.Component.Event
-
- com.vaadin.ui.Upload.ChangeEvent
-
- All Implemented Interfaces:
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
Constructors Constructor Description ChangeEvent(Upload source, String filename)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Method Detail
-
getSource
public Upload getSource()
Uploads where the event occurred.- Overrides:
getSource
in classEventObject
- Returns:
- the Source of the event.
-
getFilename
public String getFilename()
Gets the file name.- Returns:
- the filename.
-
-