Class DefaultDownloadIndicator
java.lang.Object
net.adoptopenjdk.icedteaweb.client.parts.downloadindicator.DefaultDownloadIndicator
- All Implemented Interfaces:
DownloadIndicator
Show the progress of downloads.
- Version:
- $Revision: 1.3 $
- Author:
- Jon A. Maxwell (JAM) - initial author
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddisposeListener(DownloadServiceListener listener) Remove a download service listener that was obtained by calling the getDownloadListener method from the shared download info window.getListener(String downloadName, URL[] resources) Return a download service listener that displays the progress in a shared download info window.
-
Constructor Details
-
DefaultDownloadIndicator
public DefaultDownloadIndicator()
-
-
Method Details
-
getListener
Return a download service listener that displays the progress in a shared download info window.- Specified by:
getListenerin interfaceDownloadIndicator- Parameters:
downloadName- name identifying the download to the userresources- initial urls to display (not required)- Returns:
- download service listener attached to this app. instance
-
disposeListener
Remove a download service listener that was obtained by calling the getDownloadListener method from the shared download info window.- Specified by:
disposeListenerin interfaceDownloadIndicator- Parameters:
listener- the listener that is no longer in use
-