Package com.aelitis.azureus.ui.swt.utils

Examples of com.aelitis.azureus.ui.swt.utils.TorrentUIUtilsV3


    Rectangle cellBounds = cell.getBounds();

    Image[] imgThumbnail = TorrentUIUtilsV3.getContentImage(ds,
        cellBounds.width >= 20 && cellBounds.height >= 20,
        new ContentImageLoadedListener() {
          public void contentImageLoaded(Image image, boolean wasReturned) {
            if (!wasReturned) {
              // this may be triggered many times, so only invalidate and don't
              // force a refresh()
              cell.invalidate();
View Full Code Here


  }

  // @see org.gudy.azureus2.plugins.ui.tables.TableCellToolTipListener#cellHover(org.gudy.azureus2.plugins.ui.tables.TableCell)
  public void cellHover(TableCell cell) {
    final Object ds = cell.getDataSource();
    Image[] imgThumbnail = TorrentUIUtilsV3.getContentImage(ds, true, new ContentImageLoadedListener() {
      public void contentImageLoaded(Image image, boolean wasReturned) {
        TorrentUIUtilsV3.releaseContentImage(ds);
      }
    });
View Full Code Here

      cellPaintName(cell, gc, cellBounds, cellBounds.x);
      return;
    }

    Image[] imgThumbnail = TorrentUIUtilsV3.getContentImage(ds,
        cellBounds.height >= 20, new ContentImageLoadedListener() {
          public void contentImageLoaded(Image image, boolean wasReturned) {
            if (!wasReturned) {
              // this may be triggered many times, so only invalidate and don't
              // force a refresh()
              cell.invalidate();
View Full Code Here

TOP

Related Classes of com.aelitis.azureus.ui.swt.utils.TorrentUIUtilsV3

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.