Package it.ipzs.cieid.Firma
Class FileDrop.Event
- java.lang.Object
-
- java.util.EventObject
-
- it.ipzs.cieid.Firma.FileDrop.Event
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- FileDrop
public static class FileDrop.Event extends java.util.EventObject
This is the event that is passed to thefilesDropped(...)
method in yourFileDropListener
when files are dropped onto a registered drop target.I'm releasing this code into the Public Domain. Enjoy.
- Version:
- 1.2
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.File[]
files
-
Constructor Summary
Constructors Constructor Description Event(java.io.File[] files, java.lang.Object source)
Constructs anFileDrop.Event
with the array of files that were dropped and theFileDrop
that initiated the event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.File[]
getFiles()
Returns an array of files that were dropped on a registered drop target.
-
-
-
Constructor Detail
-
Event
public Event(java.io.File[] files, java.lang.Object source)
Constructs anFileDrop.Event
with the array of files that were dropped and theFileDrop
that initiated the event.- Parameters:
files
- The array of files that were dropped- Since:
- 1.1
-
-