FileDocCategorySizeDatePackage
DateAddedItem.javaAPI DocAzureus 3.0.3.41792Thu Jan 11 11:53:52 GMT 2007org.gudy.azureus2.ui.swt.views.tableitems.mytracker

DateAddedItem

public class DateAddedItem extends org.gudy.azureus2.ui.swt.views.table.utils.CoreTableColumn implements TableCellRefreshListener
author
TuxPaper
since
2.0.8.5

Fields Summary
Constructors Summary
public DateAddedItem()
Default Constructor

    super("date_added", ALIGN_TRAIL, POSITION_LAST, 60, TableManager.TABLE_MYTRACKER);
  
Methods Summary
public voidrefresh(TableCell cell)

	  
    TRHostTorrent item = (TRHostTorrent)cell.getDataSource();
	
    String date_text = "";
    
    if( item != null ) {
	  
    	long	date = item.getDateAdded();
    	
    	date_text = DisplayFormatters.formatDate( date );
    }
    
    cell.setText( date_text );