Class FileDropEvent
java.lang.Object
java.util.EventObject
net.thevpc.common.swing.file.FileDropEvent
- All Implemented Interfaces:
Serializable
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.
- Version:
- 1.2
- Author:
- Robert Harder, rob@iharder.net
- See Also:
-
Field Summary
Fields inherited from class EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionFileDropEvent(File[] files, Object source) Constructs anFileDropEventwith the array of files that were dropped and theFileDropthat initiated the event. -
Method Summary
Methods inherited from class EventObject
getSource, toString
-
Constructor Details
-
FileDropEvent
Constructs anFileDropEventwith the array of files that were dropped and theFileDropthat initiated the event.- Parameters:
files- The array of files that were dropped %source The event source- Since:
- 1.1
-
-
Method Details
-
getFiles
Returns an array of files that were dropped on a registered drop target.- Returns:
- array of files that were dropped
- Since:
- 1.1
-