|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.plugin.opennap.net.OpenNapMetaBrowse
public class OpenNapMetaBrowse
Implements an OpenNap search on set of servers.
Nested Class Summary | |
---|---|
class |
OpenNapMetaBrowse.TryNextServerAction
|
Constructor Summary | |
---|---|
OpenNapMetaBrowse(OpenNapUser user)
|
Method Summary | |
---|---|
javax.swing.Action[] |
getActions()
Returns null . |
SearchFilter |
getFilter()
Returns null . |
java.lang.String |
getName()
Returns the name of the user that is browsed. |
java.lang.String |
getStatus()
Returns a string that describes the current status. |
boolean |
isDone()
Returns true, if this search can not be canceled. |
void |
resultReceived(SearchResult result)
Invoked when result is received. |
boolean |
showTree()
Returns true . |
void |
start(SearchHandler handler)
Starts this search. |
void |
stateChanged(Search search)
Invoked when the state of search changes. |
void |
stop()
Cancels this search. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OpenNapMetaBrowse(OpenNapUser user)
Method Detail |
---|
public javax.swing.Action[] getActions()
null
.
getActions
in interface Search
public SearchFilter getFilter()
null
.
getFilter
in interface Search
public java.lang.String getName()
getName
in interface Search
public boolean showTree()
true
.
showTree
in interface Search
public java.lang.String getStatus()
getStatus
in interface Search
public boolean isDone()
isDone
in interface Search
public void resultReceived(SearchResult result)
SearchHandler
result
is received.
resultReceived
in interface SearchHandler
public void stateChanged(Search search)
search
changes.
stateChanged
in interface SearchHandler
public void start(SearchHandler handler)
start
in interface Search
handler
- the object that handles the resultspublic void stop()
stop
in interface Search
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |