Class FileDrop.Event

java.lang.Object
java.util.EventObject
it.ipzs.cieid.Firma.FileDrop.Event
All Implemented Interfaces:
Serializable
Enclosing class:
FileDrop

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

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

Version:
1.2
See Also:
  • Field Details

    • files

      private File[] files
  • Constructor Details

    • Event

      public Event(File[] files, Object source)
      Constructs an FileDrop.Event with the array of files that were dropped and the FileDrop that initiated the event.
      Parameters:
      files - The array of files that were dropped
      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