netx.jnlp.event
Class DownloadEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--netx.jnlp.event.DownloadEvent
All Implemented Interfaces:
java.io.Serializable

public class DownloadEvent
extends java.util.EventObject

This event is sent during the launch of an application.

Version:
$Revision: 1.2 $
Author:
Jon A. Maxwell (JAM) - initial author
See Also:
Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DownloadEvent(ResourceTracker source, Resource resource)
          Creates a launch event for the specified application instance.
 
Method Summary
 java.net.URL getResourceLocation()
          Returns the location of the resource being downloaded.
 ResourceTracker getTracker()
          Returns the tracker that owns the resource.
 
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

DownloadEvent

public DownloadEvent(ResourceTracker source,
                     Resource resource)
Creates a launch event for the specified application instance.
Parameters:
source - the resource tracker
resource - the resource
Method Detail

getTracker

public ResourceTracker getTracker()
Returns the tracker that owns the resource.

getResourceLocation

public java.net.URL getResourceLocation()
Returns the location of the resource being downloaded.