Search in sources :

Example 1 with TagDiscovery

use of com.biglybt.core.tag.TagDiscovery in project BiglyBT by BiglySoftware.

the class ColumnTagDiscoveryNetwork method refresh.

@Override
public void refresh(TableCell cell) {
    TagDiscovery discovery = (TagDiscovery) cell.getDataSource();
    cell.setText(discovery.getNetwork());
}
Also used : TagDiscovery(com.biglybt.core.tag.TagDiscovery)

Example 2 with TagDiscovery

use of com.biglybt.core.tag.TagDiscovery in project BiglyBT by BiglySoftware.

the class ColumnTagDiscoveryTorrent method refresh.

@Override
public void refresh(TableCell cell) {
    TagDiscovery discovery = (TagDiscovery) cell.getDataSource();
    cell.setText(discovery.getTorrentName());
}
Also used : TagDiscovery(com.biglybt.core.tag.TagDiscovery)

Example 3 with TagDiscovery

use of com.biglybt.core.tag.TagDiscovery in project BiglyBT by BiglySoftware.

the class ColumnTagDiscoveryAddedOn method refresh.

@Override
public void refresh(TableCell cell) {
    TableColumn tc = cell.getTableColumn();
    if (tc instanceof ColumnDateSizer) {
        TagDiscovery discovery = (TagDiscovery) cell.getDataSource();
        ((ColumnDateSizer) tc).refresh(cell, discovery.getTimestamp());
    }
}
Also used : ColumnDateSizer(com.biglybt.ui.swt.views.tableitems.ColumnDateSizer) TagDiscovery(com.biglybt.core.tag.TagDiscovery)

Example 4 with TagDiscovery

use of com.biglybt.core.tag.TagDiscovery in project BiglyBT by BiglySoftware.

the class ColumnTagDiscoveryName method refresh.

@Override
public void refresh(TableCell cell) {
    TagDiscovery discovery = (TagDiscovery) cell.getDataSource();
    cell.setText(discovery.getName());
}
Also used : TagDiscovery(com.biglybt.core.tag.TagDiscovery)

Aggregations

TagDiscovery (com.biglybt.core.tag.TagDiscovery)4 ColumnDateSizer (com.biglybt.ui.swt.views.tableitems.ColumnDateSizer)1