Default Constructor super("mode", ALIGN_LEAD, POSITION_LAST, 60, TableManager.TABLE_TORRENT_FILES); setRefreshInterval(INTERVAL_LIVE); setMinWidthAuto(true);
super("mode", ALIGN_LEAD, POSITION_LAST, 60, TableManager.TABLE_TORRENT_FILES); setRefreshInterval(INTERVAL_LIVE); setMinWidthAuto(true);
DiskManagerFileInfo fileInfo = (DiskManagerFileInfo)cell.getDataSource(); long value = (fileInfo == null) ? 0 : fileInfo.getAccessMode(); if( !cell.setSortValue( value ) && cell.isValid() ) { return; } String sText = MessageText.getString("FileItem." + ((value == DiskManagerFileInfo.WRITE) ? "write" : "read")); cell.setText(sText);