org.gudy.azureus2.ui.swt
Class FileDownloadWindow

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.FileDownloadWindow
All Implemented Interfaces:
TorrentDownloaderCallBackInterface, IProgressReportConstants

public class FileDownloadWindow
extends Object
implements TorrentDownloaderCallBackInterface, IProgressReportConstants

Author:
Olivier

Field Summary
 
Fields inherited from interface org.gudy.azureus2.ui.swt.progress.IProgressReportConstants
AUTO_CLOSE, BORDER, MANAGER_EVENT_ADDED, MANAGER_EVENT_REMOVED, MANAGER_EVENT_UPDATED, MODAL, MSG_TYPE_ERROR, MSG_TYPE_INFO, MSG_TYPE_LOG, NONE, REPORT_TYPE_CANCEL, REPORT_TYPE_DISPOSED, REPORT_TYPE_DONE, REPORT_TYPE_ERROR, REPORT_TYPE_INIT, REPORT_TYPE_MODE_CHANGE, REPORT_TYPE_PROPERTY_CHANGED, REPORT_TYPE_RETRY, REPORTER_TYPE_DEFAULT, REPORTER_VISIBILITY_SYSTEM, REPORTER_VISIBILITY_USER, RETVAL_OK, RETVAL_OK_TO_DISPOSE, SHOW_TOOLBAR, STANDALONE
 
Constructor Summary
FileDownloadWindow(org.eclipse.swt.widgets.Shell parent, String url, String referrer, Map request_properties)
          Create a file download window.
FileDownloadWindow(org.eclipse.swt.widgets.Shell parent, String url, String referrer, Map request_properties, boolean force_dialog)
           
FileDownloadWindow(org.eclipse.swt.widgets.Shell parent, String url, String referrer, Map request_properties, TorrentOpenOptions torrentOptions, TorrentDownloaderCallBackInterface listener)
          Create a file download window.
 
Method Summary
 void TorrentDownloaderEvent(int state, TorrentDownloader inf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileDownloadWindow

public FileDownloadWindow(org.eclipse.swt.widgets.Shell parent,
                          String url,
                          String referrer,
                          Map request_properties)
Create a file download window. Add torrent when done downloading

Parameters:
_azureus_core -
parent -
url -
referrer -

FileDownloadWindow

public FileDownloadWindow(org.eclipse.swt.widgets.Shell parent,
                          String url,
                          String referrer,
                          Map request_properties,
                          TorrentOpenOptions torrentOptions,
                          TorrentDownloaderCallBackInterface listener)
Create a file download window. If no listener is supplied, torrent will be added when download is complete. If a listener is supplied, caller handles it

Parameters:
_azureus_core -
parent -
url -
referrer -
listener -

FileDownloadWindow

public FileDownloadWindow(org.eclipse.swt.widgets.Shell parent,
                          String url,
                          String referrer,
                          Map request_properties,
                          boolean force_dialog)
Method Detail

TorrentDownloaderEvent

public void TorrentDownloaderEvent(int state,
                                   TorrentDownloader inf)
Specified by:
TorrentDownloaderEvent in interface TorrentDownloaderCallBackInterface