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


Deprecated. Use org.gudy.azureus2.plugins.ui.tables

public interface PluginPeerItem

This interface represents a table item in the Peers view.

Author:
Olivier

Method Summary
 int getIntValue()
          Deprecated. Called by the GUI whenever a sort is done.
 java.lang.String getStringValue()
          Deprecated. Called by the GUI whenever a sort is done.
 void refresh()
          Deprecated. Called by the GUI whenever a refresh is needed.
 

Method Detail

refresh

void refresh()
Deprecated. 
Called by the GUI whenever a refresh is needed.
The Item should have been created by its associated factory, and been initialiazed with references to a PeerTableItem. This class only needs to implement the refresh method using methods from PeerTableItem.


getStringValue

java.lang.String getStringValue()
Deprecated. 
Called by the GUI whenever a sort is done.
Should return null if the item is of type TYPE_INT.

Returns:
the current value

getIntValue

int getIntValue()
Deprecated. 
Called by the GUI whenever a sort is done.
Should return 0 if the item is of type TYPE_STRING.

Returns:
the current value