Package net.iharder.dnd
Class FileDropEvent
java.lang.Object
java.util.EventObject
net.iharder.dnd.FileDropEvent
- All Implemented Interfaces:
Serializable
public class FileDropEvent extends EventObject
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.
Original author: Robert Harder, rharder@usa.net
- Version:
- 1.1
- Author:
- Robert Harder, rharder@usa.net
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description FileDropEvent(File[] files, Object source)
Constructs aFileDropEvent
with the array of files that were dropped and theFileDropBean
that initiated the event. -
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
FileDropEvent
Constructs aFileDropEvent
with the array of files that were dropped and theFileDropBean
that initiated the event.- Parameters:
files
- The array of files that were dropped- 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
-