Default Constructor super("availability", ALIGN_TRAIL, POSITION_LAST, 80, TableManager.TABLE_TORRENT_PIECES); setRefreshInterval(INTERVAL_LIVE);
super("availability", ALIGN_TRAIL, POSITION_LAST, 80, TableManager.TABLE_TORRENT_PIECES); setRefreshInterval(INTERVAL_LIVE);
PEPiece piece = (PEPiece)cell.getDataSource(); long value = (piece == null) ? 0 : piece.getAvailability(); if( !cell.setSortValue( value ) && cell.isValid() ) { return; } cell.setText(""+value);