Interface FileDropHandler<T extends AbstractComponent>

  • Type Parameters:
    T - Type of the file drop target component.
    All Superinterfaces:
    java.io.Serializable

    public interface FileDropHandler<T extends AbstractComponent>
    extends java.io.Serializable
    Handles the drop event on a file drop target.
    Since:
    8.1
    Author:
    Vaadin Ltd
    See Also:
    FileDropEvent, FileDropTarget
    • Method Detail

      • drop

        void drop​(FileDropEvent<T> event)
        Handles the drop event. The method is called when files are dropped onto the file drop target this handler is registered to.
        Parameters:
        event - The file drop event containing the list of files that were dropped onto the component.