Default Constructor super("secondsseeding", ALIGN_TRAIL, POSITION_INVISIBLE, 70, sTableID); setRefreshInterval(INTERVAL_LIVE); setMinWidthAuto(true);
super("secondsseeding", ALIGN_TRAIL, POSITION_INVISIBLE, 70, sTableID); setRefreshInterval(INTERVAL_LIVE); setMinWidthAuto(true);
DownloadManager dm = (DownloadManager)cell.getDataSource(); long value = (dm == null) ? 0 : dm.getStats().getSecondsDownloading() + dm.getStats().getSecondsOnlySeeding(); if (!cell.setSortValue(value) && cell.isValid()) return; cell.setText(TimeFormatter.format(value));