|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectEventObject
FileDrop.Event
public static class FileDrop.Event
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.
Field Summary |
---|
Fields inherited from class EventObject |
---|
source |
Constructor Summary | |
---|---|
FileDrop.Event(File[] files,
Object source)
Constructs an FileDrop.Event with the array
of files that were dropped and the
FileDrop that initiated the event. |
Method Summary | |
---|---|
File[] |
getFiles()
Returns an array of files that were dropped on a registered drop target. |
Methods inherited from class EventObject |
---|
getSource, toString |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FileDrop.Event(File[] files, 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 droppedMethod Detail |
---|
public File[] getFiles()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |