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 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(String hash, String displayName)
           
 
Method Summary
 String getDisplayName()
           
 DownloadUrlInfo getDownloadInfo()
           
 DownloadManager getDownloadManager()
           
 int getFileIndex()
           
 String getHash()
           
 TOTorrent getTorrent()
           
 boolean sameAs(ISelectedContent _other)
           
 void setDisplayName(String displayName)
           
 void setDownloadInfo(DownloadUrlInfo info)
           
 void setDownloadManager(DownloadManager _dm)
           
 void setHash(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:
Exception

SelectedContent

public SelectedContent(DownloadManager dm,
                       int _file_index)

SelectedContent

public SelectedContent(String hash,
                       String displayName)

SelectedContent

public SelectedContent()
Method Detail

getHash

public String getHash()
Specified by:
getHash in interface ISelectedContent

setHash

public void setHash(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 String getDisplayName()
Specified by:
getDisplayName in interface ISelectedContent

setDisplayName

public void setDisplayName(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