org.gudy.azureus2.plugins.ui.tables.mytorrents
Interface MyTorrentsTableItem


Deprecated. Use TableCell

public interface MyTorrentsTableItem

This interface provides access to a Table Item in the My Torrents View.


Method Summary
 Download getDownload()
          Deprecated. This method MUST be used on each refresh, and NO CACHING of the object should be made by the Plugin.
 boolean setText(java.lang.String text)
          Deprecated. This method can be called to set the Text in the Table Item.
 

Method Detail

getDownload

Download getDownload()
Deprecated. 
This method MUST be used on each refresh, and NO CACHING of the object should be made by the Plugin. There is no link between a Table Item and a Download as the peer may change, for example when the table is re-ordered.

Returns:
the current PEPeer associated with this Item (row)

setText

boolean setText(java.lang.String text)
Deprecated. 
This method can be called to set the Text in the Table Item. Caching is done, so that if same text is used several times, there won't be any 'flickering' effect. Ie the text is only updated if it's different from current value.

Parameters:
text - the text to be set
Returns:
true if the text was updated, false if not.