Package com.biglybt.ui.selectedcontent
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 String
private DownloadManager
private DownloadUrlInfo
private int
private String
private 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 TypeMethodDescriptionint
getHash()
boolean
sameAs
(ISelectedContent _other) void
setDisplayName
(String displayName) void
void
void
void
setTorrent
(TOTorrent _torrent) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.biglybt.ui.selectedcontent.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:
getHash
in interfaceISelectedContent
-
setHash
- Specified by:
setHash
in interfaceISelectedContent
-
getDownloadManager
- Specified by:
getDownloadManager
in interfaceISelectedContent
-
setDownloadManager
- Specified by:
setDownloadManager
in interfaceISelectedContent
-
getFileIndex
public int getFileIndex()- Specified by:
getFileIndex
in interfaceISelectedContent
-
getTorrent
- Specified by:
getTorrent
in interfaceISelectedContent
-
setTorrent
- Specified by:
setTorrent
in interfaceISelectedContent
-
getDisplayName
- Specified by:
getDisplayName
in interfaceISelectedContent
-
setDisplayName
- Specified by:
setDisplayName
in interfaceISelectedContent
-
getDownloadInfo
- Specified by:
getDownloadInfo
in interfaceISelectedContent
-
setDownloadInfo
-
sameAs
- Specified by:
sameAs
in interfaceISelectedContent
-