com.aelitis.azureus.ui.swt.search
Class SBC_SearchResult

java.lang.Object
  extended by com.aelitis.azureus.ui.swt.search.SBC_SearchResult
All Implemented Interfaces:
SBC_SearchResultsView.ImageLoadListener, SearchSubsResultBase

public class SBC_SearchResult
extends java.lang.Object
implements SearchSubsResultBase, SBC_SearchResultsView.ImageLoadListener


Constructor Summary
SBC_SearchResult(SBC_SearchResultsView _view, Engine _engine, Result _result)
           
 
Method Summary
 java.lang.String getCategory()
           
 int getContentType()
           
 java.lang.String getDetailsLink()
           
 Engine getEngine()
           
 byte[] getHash()
           
 org.eclipse.swt.graphics.Image getIcon()
           
 java.lang.String getName()
           
 int getRank()
           
 boolean getRead()
           
 java.lang.String getSeedsPeers()
           
 long getSeedsPeersSortValue()
           
 long getSize()
           
 long getTime()
           
 java.lang.String getTorrentLink()
           
 java.lang.Object getUserData(java.lang.Object key)
           
 java.lang.String getVotesComments()
           
 long getVotesCommentsSortValue()
           
 void imageLoaded(org.eclipse.swt.graphics.Image image)
           
 void setRead(boolean read)
           
 void setUserData(java.lang.Object key, java.lang.Object data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SBC_SearchResult

public SBC_SearchResult(SBC_SearchResultsView _view,
                        Engine _engine,
                        Result _result)
Method Detail

getEngine

public Engine getEngine()

getName

public final java.lang.String getName()
Specified by:
getName in interface SearchSubsResultBase

getHash

public byte[] getHash()
Specified by:
getHash in interface SearchSubsResultBase

getContentType

public int getContentType()
Specified by:
getContentType in interface SearchSubsResultBase

getSize

public long getSize()
Specified by:
getSize in interface SearchSubsResultBase

getSeedsPeers

public java.lang.String getSeedsPeers()
Specified by:
getSeedsPeers in interface SearchSubsResultBase

getSeedsPeersSortValue

public long getSeedsPeersSortValue()
Specified by:
getSeedsPeersSortValue in interface SearchSubsResultBase

getVotesComments

public java.lang.String getVotesComments()
Specified by:
getVotesComments in interface SearchSubsResultBase

getVotesCommentsSortValue

public long getVotesCommentsSortValue()
Specified by:
getVotesCommentsSortValue in interface SearchSubsResultBase

getRank

public int getRank()
Specified by:
getRank in interface SearchSubsResultBase

getTorrentLink

public java.lang.String getTorrentLink()
Specified by:
getTorrentLink in interface SearchSubsResultBase

getDetailsLink

public java.lang.String getDetailsLink()
Specified by:
getDetailsLink in interface SearchSubsResultBase

getCategory

public java.lang.String getCategory()
Specified by:
getCategory in interface SearchSubsResultBase

getTime

public long getTime()
Specified by:
getTime in interface SearchSubsResultBase

getIcon

public org.eclipse.swt.graphics.Image getIcon()

getRead

public boolean getRead()
Specified by:
getRead in interface SearchSubsResultBase

setRead

public void setRead(boolean read)
Specified by:
setRead in interface SearchSubsResultBase

imageLoaded

public void imageLoaded(org.eclipse.swt.graphics.Image image)
Specified by:
imageLoaded in interface SBC_SearchResultsView.ImageLoadListener

setUserData

public void setUserData(java.lang.Object key,
                        java.lang.Object data)
Specified by:
setUserData in interface SearchSubsResultBase

getUserData

public java.lang.Object getUserData(java.lang.Object key)
Specified by:
getUserData in interface SearchSubsResultBase