Default Constructor super("remaining", ALIGN_TRAIL, POSITION_INVISIBLE, 70, TableManager.TABLE_MYTORRENTS_INCOMPLETE); setRefreshInterval(INTERVAL_LIVE); setMinWidthAuto(true);
super("remaining", ALIGN_TRAIL, POSITION_INVISIBLE, 70, TableManager.TABLE_MYTORRENTS_INCOMPLETE); setRefreshInterval(INTERVAL_LIVE); setMinWidthAuto(true);
DownloadManager manager = (DownloadManager)cell.getDataSource(); if (manager == null) return 0; return( manager.getStats().getRemaining());
long lRemaining = getRemaining(cell); if( !cell.setSortValue( lRemaining ) && cell.isValid() ) { return; } if (bLastValueEstimate) { cell.setText("~ " + DisplayFormatters.formatByteCountToKiBEtc(lRemaining)); } else { cell.setText(DisplayFormatters.formatByteCountToKiBEtc(lRemaining)); }