Class DefaultDownloadIndicator

java.lang.Object
net.adoptopenjdk.icedteaweb.client.parts.downloadindicator.DefaultDownloadIndicator
All Implemented Interfaces:
DownloadIndicator

public class DefaultDownloadIndicator extends Object implements DownloadIndicator
Show the progress of downloads.
Version:
$Revision: 1.3 $
Author:
Jon A. Maxwell (JAM) - initial author
  • Constructor Details

    • DefaultDownloadIndicator

      public DefaultDownloadIndicator()
  • Method Details

    • getListener

      public DownloadServiceListener getListener(String downloadName, URL[] resources)
      Return a download service listener that displays the progress in a shared download info window.
      Specified by:
      getListener in interface DownloadIndicator
      Parameters:
      downloadName - name identifying the download to the user
      resources - initial urls to display (not required)
      Returns:
      download service listener attached to this app. instance
    • disposeListener

      public void disposeListener(DownloadServiceListener listener)
      Remove a download service listener that was obtained by calling the getDownloadListener method from the shared download info window.
      Specified by:
      disposeListener in interface DownloadIndicator
      Parameters:
      listener - the listener that is no longer in use