|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.search.AbstractSearch org.xnap.plugin.gift.net.GiFTSearch
public class GiFTSearch
GiFTSearch
Constructor Summary | |
---|---|
GiFTSearch(SearchFilter filter,
GiFTDaemon daemon)
Constructor for GiFTSearch. |
Method Summary | |
---|---|
java.lang.String |
getGID()
|
java.lang.String |
getStatus()
Returns a string that describes the current status. |
boolean |
isDone()
Returns true, if this search is finished and can not be started again. |
void |
searchFinished(SearchControlEvent evt)
Gets called if a search is finished |
void |
searchItemReceived(SearchItemEvent evt)
Gets called if a search result is received |
void |
searchStarted(SearchControlEvent evt)
Gets called if a search is started |
void |
setGID(java.lang.String string)
|
void |
start(SearchHandler handler)
Starts this search. |
void |
stop()
Cancels this search. |
Methods inherited from class org.xnap.search.AbstractSearch |
---|
getActions, getFilter, getName, showTree |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.xnap.plugin.gift.net.event.listener.SearchEventListener |
---|
getFilter |
Constructor Detail |
---|
public GiFTSearch(SearchFilter filter, GiFTDaemon daemon)
filter
- priority
- maxResults
- Method Detail |
---|
public void searchFinished(SearchControlEvent evt)
SearchEventListener
searchFinished
in interface SearchEventListener
evt
- search eventxnap.plugin.gift.net.event.listener.SearchEventListener#searchFinished(xnap.plugin.gift.net.event.SearchControlEvent)
public void searchItemReceived(SearchItemEvent evt)
SearchEventListener
searchItemReceived
in interface SearchEventListener
evt
- search eventxnap.plugin.gift.net.event.listener.SearchEventListener#searchItemReceived(xnap.plugin.gift.net.event.SearchItemEvent)
public void searchStarted(SearchControlEvent evt)
SearchEventListener
searchStarted
in interface SearchEventListener
evt
- search eventxnap.plugin.gift.net.event.listener.SearchEventListener#searchStarted(xnap.plugin.gift.net.event.SearchControlEvent)
public java.lang.String getStatus()
Search
getStatus
in interface Search
xnap.search.Search#getStatus()
public boolean isDone()
Search
isDone
in interface Search
xnap.search.Search#isDone()
public void start(SearchHandler handler)
Search
start
in interface Search
handler
- the object that handles the resultsxnap.search.Search#start(xnap.search.SearchHandler)
public void stop()
Search
stop
in interface Search
xnap.search.Search#stop()
public java.lang.String getGID()
public void setGID(java.lang.String string)
string
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |