Class FileDropEvent

java.lang.Object
java.util.EventObject
net.thevpc.common.swing.file.FileDropEvent
All Implemented Interfaces:
Serializable

public class FileDropEvent extends EventObject
This is the event that is passed to the filesDropped(...) method in your FileDropListener when files are dropped onto a registered drop target.

I'm releasing this code into the Public Domain. Enjoy.

Version:
1.2
Author:
Robert Harder, rob@iharder.net
See Also:
  • Constructor Details

    • FileDropEvent

      public FileDropEvent(File[] files, Object source)
      Constructs an FileDropEvent with the array of files that were dropped and the FileDrop that initiated the event.
      Parameters:
      files - The array of files that were dropped %source The event source
      Since:
      1.1
  • Method Details

    • getFiles

      public File[] getFiles()
      Returns an array of files that were dropped on a registered drop target.
      Returns:
      array of files that were dropped
      Since:
      1.1