FileDocCategorySizeDatePackage
EncryptionItem.javaAPI DocAzureus 3.0.3.41660Sun Sep 23 04:54:50 BST 2007org.gudy.azureus2.ui.swt.views.tableitems.peers

EncryptionItem

public class EncryptionItem extends org.gudy.azureus2.ui.swt.views.table.utils.CoreTableColumn implements TableCellRefreshListener

Fields Summary
Constructors Summary
public EncryptionItem(String table_id)
Default Constructor

    super("Encryption", ALIGN_CENTER, POSITION_INVISIBLE, 20, table_id);
    setRefreshInterval(INTERVAL_LIVE);
  
Methods Summary
public voidrefresh(TableCell cell)

    PEPeer peer = (PEPeer)cell.getDataSource();
    String value = peer == null ? "" : peer.getEncryption();

    if (!cell.setSortValue(value) && cell.isValid())
      return;

    cell.setText(value);