org.gudy.azureus2.plugins.ui.tables.peers
Interface PeerTableItem


Deprecated. Use TableCell

public interface PeerTableItem

(DEPRECATED) This interface provides access to a Table Item in the Peers View.

Author:
Olivier

Method Summary
 Peer getPeer()
          Deprecated. This method MUST be used on each refresh, and NO CACHING of the PEPeer 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

getPeer

Peer getPeer()
Deprecated. 
This method MUST be used on each refresh, and NO CACHING of the PEPeer should be made by the Plugin. There is no link between a Table Item and a PEPeer 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.