Default Constructor super("passive", ALIGN_TRAIL, POSITION_LAST, 60, TableManager.TABLE_MYTRACKER); setRefreshInterval(INTERVAL_LIVE);
super("passive", ALIGN_TRAIL, POSITION_LAST, 60, TableManager.TABLE_MYTRACKER); setRefreshInterval(INTERVAL_LIVE);
TRHostTorrent item = (TRHostTorrent)cell.getDataSource(); String status_text = ""; if( item != null ) { if( !cell.setSortValue( item.isPassive()?1:0 ) && cell.isValid() ) { return; } if ( item.isPassive() ){ status_text = MessageText.getString( "Button.yes" ).replaceAll("&", ""); }else{ status_text = MessageText.getString( "Button.no" ).replaceAll("&", ""); } } cell.setText( status_text );