Package com.teamdev.jxbrowser.download
Interface Download
- All Superinterfaces:
Observable<DownloadEvent>
A download activity.
-
Method Summary
Methods inherited from interface com.teamdev.jxbrowser.event.Observable
on
-
Method Details
-
target
DownloadTarget target()Returns the download target. -
state
DownloadState state()Returns the download state. -
isPaused
boolean isPaused()Indicates whether this download is paused. Use this method to find out whether download is paused or not.- Returns:
true
if this download is paused
-
pause
void pause()Pauses this download. Will have no effect when the download is already paused. -
resume
void resume()Resumes this download. Will have no effect when the download is not paused. -
cancel
void cancel()Cancels this download. Will have no effect when the download is already cancelled.
-