public static class FileDrop.Event
extends java.util.EventObject
filesDropped(...)
method in
your FileDropListener
when files are dropped onto
a registered drop target.
I'm releasing this code into the Public Domain. Enjoy.
Constructor and Description |
---|
FileDrop.Event(java.io.File[] files,
java.lang.Object source)
Constructs an
FileDrop.Event with the array
of files that were dropped and the
FileDrop that initiated the event. |
Modifier and Type | Method and Description |
---|---|
java.io.File[] |
getFiles()
Returns an array of files that were dropped on a
registered drop target.
|
public FileDrop.Event(java.io.File[] files, java.lang.Object source)
FileDrop.Event
with the array
of files that were dropped and the
FileDrop
that initiated the event.files
- The array of files that were dropped