FileDocCategorySizeDatePackage
CategoryItem.javaAPI DocAzureus 3.0.3.42176Thu Feb 09 19:43:20 GMT 2006org.gudy.azureus2.ui.swt.views.tableitems.myshares

CategoryItem

public class CategoryItem extends org.gudy.azureus2.ui.swt.views.table.utils.CoreTableColumn implements org.gudy.azureus2.plugins.ui.tables.TableCellRefreshListener
author
parg

Fields Summary
protected static final org.gudy.azureus2.plugins.torrent.TorrentAttribute
category_attribute
Default Constructor
Constructors Summary
public CategoryItem()

	
	 
	 
	
		super("category", POSITION_LAST, 400, TableManager.TABLE_MYSHARES);
		
		setRefreshInterval(INTERVAL_LIVE);
	
Methods Summary
public voidrefresh(org.gudy.azureus2.plugins.ui.tables.TableCell cell)

		ShareResource item = (ShareResource)cell.getDataSource();
		
		if (item == null){
			
			cell.setText("");
			
		}else{
			
			String	value = item.getAttribute(category_attribute);
			
			cell.setText( value==null?"":value);
		}