Class SelectedContent
java.lang.Object
com.biglybt.ui.selectedcontent.SelectedContent
- All Implemented Interfaces:
ISelectedContent
Represents a piece of content (torrent) that is selected
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate DownloadManagerprivate DownloadUrlInfoprivate intprivate Stringprivate TOTorrent -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.- at least set a display-name for debug purposesSelectedContent(DownloadManager dm, int _file_index) SelectedContent(String hash, String displayName) -
Method Summary
Modifier and TypeMethodDescriptionintgetHash()booleansameAs(ISelectedContent _other) voidsetDisplayName(String displayName) voidvoidvoidvoidsetTorrent(TOTorrent _torrent) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ISelectedContent
getString
-
Field Details
-
hash
-
dm
-
file_index
private int file_index -
torrent
-
displayName
-
downloadInfo
-
-
Constructor Details
-
SelectedContent
- Parameters:
dm-- Throws:
Exception
-
SelectedContent
-
SelectedContent
-
SelectedContent
public SelectedContent()Deprecated.- at least set a display-name for debug purposes -
SelectedContent
-
-
Method Details
-
getHash
- Specified by:
getHashin interfaceISelectedContent
-
setHash
- Specified by:
setHashin interfaceISelectedContent
-
getDownloadManager
- Specified by:
getDownloadManagerin interfaceISelectedContent
-
setDownloadManager
- Specified by:
setDownloadManagerin interfaceISelectedContent
-
getFileIndex
public int getFileIndex()- Specified by:
getFileIndexin interfaceISelectedContent
-
getTorrent
- Specified by:
getTorrentin interfaceISelectedContent
-
setTorrent
- Specified by:
setTorrentin interfaceISelectedContent
-
getDisplayName
- Specified by:
getDisplayNamein interfaceISelectedContent
-
setDisplayName
- Specified by:
setDisplayNamein interfaceISelectedContent
-
getDownloadInfo
- Specified by:
getDownloadInfoin interfaceISelectedContent
-
setDownloadInfo
-
sameAs
- Specified by:
sameAsin interfaceISelectedContent
-