com.vaadin.ui.dnd.

Class FileDropTarget<T extends AbstractComponent>

    • Constructor Detail

      • FileDropTarget

        public FileDropTarget​(T target,
                              FileDropHandler<T> fileDropHandler)

        Extends target component and makes it a file drop target. A file drop handler needs to be added to handle the file drop event.

        Parameters:

        target - Component to be extended.

        fileDropHandler - File drop handler that handles the file drop event.

        See Also:

        FileDropEvent