Default Constructor super("storagetype", ALIGN_LEAD, POSITION_INVISIBLE, 70, TableManager.TABLE_TORRENT_FILES); setRefreshInterval(INTERVAL_LIVE);
super("storagetype", ALIGN_LEAD, POSITION_INVISIBLE, 70, TableManager.TABLE_TORRENT_FILES); setRefreshInterval(INTERVAL_LIVE);
DiskManagerFileInfo fileInfo = (DiskManagerFileInfo)cell.getDataSource(); String tmp; if (fileInfo == null) { tmp = ""; } else { if (fileInfo.getStorageType() == DiskManagerFileInfo.ST_LINEAR ){ tmp = MessageText.getString("FileItem.storage.linear"); }else{ tmp = MessageText.getString("FileItem.storage.compact"); } } cell.setText(tmp);