Package com.vaadin.ui.dnd.event
Class FileDropEvent<T extends AbstractComponent>
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.event.ConnectorEvent
-
- com.vaadin.ui.Component.Event
-
- com.vaadin.ui.dnd.event.FileDropEvent<T>
-
- Type Parameters:
T- Type of the file drop target component.
- All Implemented Interfaces:
java.io.Serializable
public class FileDropEvent<T extends AbstractComponent> extends Component.Event
File drop event that contains the collection of files dropped on a file drop target.- Since:
- 8.1
- Author:
- Vaadin Ltd
- See Also:
FileDropHandler, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FileDropEvent(T target, java.util.Collection<Html5File> files)Creates a file drop event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<Html5File>getFiles()Gets the collection of files dropped onto the file drop target component.-
Methods inherited from class com.vaadin.ui.Component.Event
getComponent
-
Methods inherited from class com.vaadin.event.ConnectorEvent
getConnector
-
-
-
-
Method Detail
-
getFiles
public java.util.Collection<Html5File> getFiles()
Gets the collection of files dropped onto the file drop target component.- Returns:
- Collection of files that were dropped onto the file drop target component.
-
-