public static class FileDrop.Event extends EventObject
FileDropListener
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[] pFiles,
Object pSource)
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[] pFiles, Object pSource)
FileDrop.Event
with the array
of files that were dropped and the
FileDrop
that initiated the event.pFiles
- The array of files that were droppedpSource
- The event sourcepublic File[] getFiles()
Copyright © 2023. All rights reserved.