com.aelitis.azureus.ui.selectedcontent
Class SelectedContent

java.lang.Object
  extended by com.aelitis.azureus.ui.selectedcontent.SelectedContent
All Implemented Interfaces:
ISelectedContent

public class SelectedContent
extends java.lang.Object
implements ISelectedContent

Represents a piece of content (torrent) that is selected

Author:
TuxPaper

Constructor Summary
SelectedContent()
           
SelectedContent(DownloadManager dm)
           
SelectedContent(DownloadManager dm, int _file_index)
           
SelectedContent(java.lang.String hash, java.lang.String displayName)
           
 
Method Summary
 java.lang.String getDisplayName()
           
 DownloadUrlInfo getDownloadInfo()
           
 DownloadManager getDownloadManager()
           
 int getFileIndex()
           
 java.lang.String getHash()
           
 TOTorrent getTorrent()
           
 boolean sameAs(ISelectedContent _other)
           
 void setDisplayName(java.lang.String displayName)
           
 void setDownloadInfo(DownloadUrlInfo info)
           
 void setDownloadManager(DownloadManager _dm)
           
 void setHash(java.lang.String hash)
           
 void setTorrent(TOTorrent _torrent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectedContent

public SelectedContent(DownloadManager dm)
Parameters:
dm2 -
Throws:
java.lang.Exception

SelectedContent

public SelectedContent(DownloadManager dm,
                       int _file_index)

SelectedContent

public SelectedContent(java.lang.String hash,
                       java.lang.String displayName)

SelectedContent

public SelectedContent()
Method Detail

getHash

public java.lang.String getHash()
Specified by:
getHash in interface ISelectedContent

setHash

public void setHash(java.lang.String hash)
Specified by:
setHash in interface ISelectedContent

getDownloadManager

public DownloadManager getDownloadManager()
Specified by:
getDownloadManager in interface ISelectedContent

setDownloadManager

public void setDownloadManager(DownloadManager _dm)
Specified by:
setDownloadManager in interface ISelectedContent

getFileIndex

public int getFileIndex()
Specified by:
getFileIndex in interface ISelectedContent

getTorrent

public TOTorrent getTorrent()
Specified by:
getTorrent in interface ISelectedContent

setTorrent

public void setTorrent(TOTorrent _torrent)
Specified by:
setTorrent in interface ISelectedContent

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in interface ISelectedContent

setDisplayName

public void setDisplayName(java.lang.String displayName)
Specified by:
setDisplayName in interface ISelectedContent

getDownloadInfo

public DownloadUrlInfo getDownloadInfo()
Specified by:
getDownloadInfo in interface ISelectedContent

setDownloadInfo

public void setDownloadInfo(DownloadUrlInfo info)
Specified by:
setDownloadInfo in interface ISelectedContent

sameAs

public boolean sameAs(ISelectedContent _other)
Specified by:
sameAs in interface ISelectedContent