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

java.lang.Object
  extended by com.aelitis.azureus.ui.swt.search.SBC_SearchResultsView
All Implemented Interfaces:
MetaSearchListener, TableViewFilterCheck<SBC_SearchResult>, SearchResultsTabAreaBase

public class SBC_SearchResultsView
extends java.lang.Object
implements SearchResultsTabAreaBase, TableViewFilterCheck<SBC_SearchResult>, MetaSearchListener


Nested Class Summary
static interface SBC_SearchResultsView.ImageLoadListener
           
 
Nested classes/interfaces inherited from interface com.aelitis.azureus.ui.common.table.TableViewFilterCheck
TableViewFilterCheck.TableViewFilterCheckEx<DATASOURCETYPE>
 
Field Summary
static java.lang.String TABLE_SR
           
 
Constructor Summary
protected SBC_SearchResultsView(SearchResultsTabArea _parent)
           
 
Method Summary
 void anotherSearch(SearchResultsTabArea.SearchQuery sq)
           
protected  java.util.Map buildFilterMap()
           
static void downloadAction(SearchSubsResultBase entry)
           
 void engineAdded(Engine engine)
           
 void engineRemoved(Engine engine)
           
 void engineStateChanged(Engine engine)
           
 void engineUpdated(Engine engine)
           
 boolean filterCheck(SBC_SearchResult ds, java.lang.String filter, boolean regex)
           
 void filterSet(java.lang.String filter)
           
 java.lang.String getDownloadURI(SBC_SearchResult result)
           
 org.eclipse.swt.graphics.Image getIcon(Engine engine, SBC_SearchResultsView.ImageLoadListener result)
           
 org.eclipse.swt.graphics.Image getIcon(SBC_SearchResult result)
           
 int getResultCount()
           
 void hideView()
           
protected  void invalidate(SBC_SearchResult result)
           
protected  void refilter()
           
 void refreshView()
           
protected static void showDownloadFTUX(SearchSubsResultBase entry, UserPrompterResultListener listener)
           
 void showView()
           
 java.lang.Object skinObjectInitialShow(SWTSkinObject skinObject, java.lang.Object params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TABLE_SR

public static final java.lang.String TABLE_SR
See Also:
Constant Field Values
Constructor Detail

SBC_SearchResultsView

protected SBC_SearchResultsView(SearchResultsTabArea _parent)
Method Detail

skinObjectInitialShow

public java.lang.Object skinObjectInitialShow(SWTSkinObject skinObject,
                                              java.lang.Object params)

buildFilterMap

protected java.util.Map buildFilterMap()

refilter

protected void refilter()

showView

public void showView()
Specified by:
showView in interface SearchResultsTabAreaBase

refreshView

public void refreshView()
Specified by:
refreshView in interface SearchResultsTabAreaBase

hideView

public void hideView()
Specified by:
hideView in interface SearchResultsTabAreaBase

engineAdded

public void engineAdded(Engine engine)
Specified by:
engineAdded in interface MetaSearchListener

engineUpdated

public void engineUpdated(Engine engine)
Specified by:
engineUpdated in interface MetaSearchListener

engineRemoved

public void engineRemoved(Engine engine)
Specified by:
engineRemoved in interface MetaSearchListener

engineStateChanged

public void engineStateChanged(Engine engine)
Specified by:
engineStateChanged in interface MetaSearchListener

invalidate

protected void invalidate(SBC_SearchResult result)

filterCheck

public boolean filterCheck(SBC_SearchResult ds,
                           java.lang.String filter,
                           boolean regex)
Specified by:
filterCheck in interface TableViewFilterCheck<SBC_SearchResult>

filterSet

public void filterSet(java.lang.String filter)
Specified by:
filterSet in interface TableViewFilterCheck<SBC_SearchResult>

anotherSearch

public void anotherSearch(SearchResultsTabArea.SearchQuery sq)
Specified by:
anotherSearch in interface SearchResultsTabAreaBase

getDownloadURI

public java.lang.String getDownloadURI(SBC_SearchResult result)

getIcon

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

getIcon

public org.eclipse.swt.graphics.Image getIcon(Engine engine,
                                              SBC_SearchResultsView.ImageLoadListener result)

getResultCount

public int getResultCount()
Specified by:
getResultCount in interface SearchResultsTabAreaBase

downloadAction

public static void downloadAction(SearchSubsResultBase entry)

showDownloadFTUX

protected static void showDownloadFTUX(SearchSubsResultBase entry,
                                       UserPrompterResultListener listener)