Class DummyDownloadIndicator
java.lang.Object
net.adoptopenjdk.icedteaweb.client.parts.downloadindicator.DummyDownloadIndicator
- All Implemented Interfaces:
DownloadIndicator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddisposeListener(DownloadServiceListener listener) Indicates that a download service listener that was obtained from the getDownloadListener method will no longer be used.getListener(String downloadName, URL[] resources) Return a download service listener that displays the progress of downloading resources.
-
Constructor Details
-
DummyDownloadIndicator
public DummyDownloadIndicator()
-
-
Method Details
-
getListener
Description copied from interface:DownloadIndicatorReturn a download service listener that displays the progress of downloading resources. Update messages may be reported for URLs that are not included initially.Progress messages are sent as if the DownloadServiceListener were listening to a DownloadService request. The listener will receive progress messages from time to time during the download.
- Specified by:
getListenerin interfaceDownloadIndicator- Parameters:
downloadName- name identifying the download to the userresources- initial urls to display, empty if none known at start- Returns:
- dedicated listener
-
disposeListener
Description copied from interface:DownloadIndicatorIndicates that a download service listener that was obtained from the getDownloadListener method will no longer be used. This method can be used to ensure that progress dialogs are properly removed once a particular download is finished.- Specified by:
disposeListenerin interfaceDownloadIndicator- Parameters:
listener- the listener that is no longer in use
-