Package jmri.util.iharder.dnd
Class URIDropEvent
- java.lang.Object
-
- java.util.EventObject
-
- jmri.util.iharder.dnd.URIDropEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class URIDropEvent extends java.util.EventObject
This is the event that is passed to theURIsDropped(...)
method in yourURIDropListener
when URIs are dropped onto a registered drop target.I'm releasing this code into the Public Domain. Enjoy.
Original author: Robert Harder, rharder@usa.net
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description URIDropEvent(java.net.URI[] uris, java.lang.Object source)
Constructs aURIDropEvent
with the array of files that were dropped and the object that initiated the event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.URI[]
getURIs()
Returns an array of URIs that were dropped on a registered drop target.
-
-
-
Constructor Detail
-
URIDropEvent
public URIDropEvent(java.net.URI[] uris, java.lang.Object source)
Constructs aURIDropEvent
with the array of files that were dropped and the object that initiated the event.- Parameters:
uris
- list of URIssource
- The event source- Since:
- 1.1
-
-
Method Detail
-
getURIs
public java.net.URI[] getURIs()
Returns an array of URIs that were dropped on a registered drop target.- Returns:
- array of URIs that were dropped
- Since:
- 1.1
-
-