Class URIDropEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class URIDropEvent
    extends java.util.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:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      URIDropEvent​(java.net.URI[] uris, java.lang.Object source)
      Constructs a URIDropEvent 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.
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • URIDropEvent

        public URIDropEvent​(java.net.URI[] uris,
                            java.lang.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 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