public static class FileDrop.Event extends EventObject
filesDropped(...)
method in your
FileDrop.Listener
when files are dropped onto a registered drop
target.
I'm releasing this code into the Public Domain. Enjoy.
source
Constructor and Description |
---|
Event(File[] files,
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 |
---|---|
File[] |
getFiles()
Returns an array of files that were dropped on a registered drop
target.
|
getSource, toString
public 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 droppedsource
- The event sourcepublic File[] getFiles()
Copyright © 2014–2017 Fiji. All rights reserved.