Class URIDropEvent

java.lang.Object
java.util.EventObject
jmri.util.iharder.dnd.URIDropEvent
All Implemented Interfaces:
Serializable

public class URIDropEvent extends EventObject
This is the event that is passed to the URIsDropped(...) method in your URIDropListener 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:
  • Constructor Details

    • URIDropEvent

      public URIDropEvent(URI[] uris, Object source)
      Constructs a URIDropEvent with the array of files that were dropped and the object that initiated the event.
      Parameters:
      uris - list of URIs
      source - The event source
      Since:
      1.1
  • Method Details

    • getURIs

      public 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