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 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 String TABLE_SR
           
 
Constructor Summary
protected SBC_SearchResultsView(SearchResultsTabArea _parent)
           
 
Method Summary
 void anotherSearch(SearchResultsTabArea.SearchQuery sq)
           
protected  Map buildFilterMap()
           
 void engineAdded(Engine engine)
           
 void engineRemoved(Engine engine)
           
 void engineStateChanged(Engine engine)
           
 void engineUpdated(Engine engine)
           
 boolean filterCheck(SBC_SearchResult ds, String filter, boolean regex)
           
 void filterSet(String filter)
           
 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()
           
 void showView()
           
 Object skinObjectInitialShow(SWTSkinObject skinObject, 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 String TABLE_SR
See Also:
Constant Field Values
Constructor Detail

SBC_SearchResultsView

protected SBC_SearchResultsView(SearchResultsTabArea _parent)
Method Detail

skinObjectInitialShow

public Object skinObjectInitialShow(SWTSkinObject skinObject,
                                    Object params)

buildFilterMap

protected 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,
                           String filter,
                           boolean regex)
Specified by:
filterCheck in interface TableViewFilterCheck<SBC_SearchResult>

filterSet

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