Class TorrentUIUtilsV3

java.lang.Object
com.biglybt.ui.swt.utils.TorrentUIUtilsV3

public class TorrentUIUtilsV3 extends Object
  • Field Details

  • Constructor Details

    • TorrentUIUtilsV3

      public TorrentUIUtilsV3()
  • Method Details

    • disposeStatic

      public static void disposeStatic()
    • loadTorrent

      public static void loadTorrent(DownloadUrlInfo dlInfo, boolean playNow, boolean playPrepare, boolean bringToFront)
    • _loadTorrent

      private static void _loadTorrent(Core core, DownloadUrlInfo dlInfo, boolean playNow, boolean playPrepare, boolean bringToFront)
    • handleDMAdded

      private static void handleDMAdded(DownloadManager dm, boolean playNow, boolean playPrepare, HashWrapper fhw)
    • addTorrentToGM

      public static void addTorrentToGM(TOTorrent torrent)
      No clue if we have a easy way to add a TOTorrent to the GM, so here it is
      Parameters:
      torrent -
      Since:
      3.0.5.3
    • getContentImage

      public static org.eclipse.swt.graphics.Image[] getContentImage(Object datasource, boolean big, TorrentUIUtilsV3.ContentImageLoadedListener l)
      Retrieves the thumbnail for the content, pulling it from the web if it can
      Parameters:
      datasource -
      l - When the thumbnail is available, this listener is triggered
      Returns:
      If the image is immediately available, the image will be returned as well as the trigger being fired. If the image isn't available null will be returned and the listener will trigger when avail
      Since:
      4.0.0.5
    • releaseContentImage

      public static void releaseContentImage(Object datasource)
    • showTorrentAlreadyAdded

      public static void showTorrentAlreadyAdded(String originating_loc, String name)