FileDocCategorySizeDatePackage
MaxUploadsItem.javaAPI DocAzureus 3.0.3.41818Mon Feb 19 14:24:06 GMT 2007org.gudy.azureus2.ui.swt.views.tableitems.mytorrents

MaxUploadsItem

public class MaxUploadsItem extends org.gudy.azureus2.ui.swt.views.table.utils.CoreTableColumn implements TableCellRefreshListener

Fields Summary
Constructors Summary
public MaxUploadsItem(String sTableID)
Default Constructor

    super("maxuploads", ALIGN_TRAIL, POSITION_INVISIBLE, 30, sTableID);
    setRefreshInterval(INTERVAL_LIVE);
    setMinWidthAuto(true);
  
Methods Summary
public voidrefresh(TableCell cell)

    DownloadManager dm = (DownloadManager)cell.getDataSource();
    long value = (dm == null) ? 0 : dm.getEffectiveMaxUploads();

    if (!cell.setSortValue(value) && cell.isValid())
      return;
    cell.setText(String.valueOf(value));