Class DragAndDrop


  • public class DragAndDrop
    extends ViewerFeature
    A feature which will add the ability to drag and drop files into the PDFViewer in a standard way. This class can be added as-is to the viewer to support that, or it can be subclassed and its processTransferable(java.awt.datatransfer.Transferable) method called - this method will call the action(java.io.File) methods for each File or URL specified. The name of this feature is DragAndDrop

    This code is copyright the Big Faceless Organization. You're welcome to use, modify and distribute it in any form in your own projects, provided those projects continue to make use of the Big Faceless PDF library.

    Since:
    2.10.3