We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
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:
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:
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description FileDropEvent​(T target, Collection<Html5File> files)
Creates a file drop event.
-
Method Summary
All Methods Modifier and Type Method Description 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
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
FileDropEvent
public FileDropEvent​(T target, Collection<Html5File> files)
Creates a file drop event.
Parameters:
target
- The file drop target component.files
- Collection of files.
-
-
Method Detail
-
getFiles
public 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.
-
-