org.xnap.plugin.freeway
Class FreewaySearch

java.lang.Object
  extended by org.xnap.search.AbstractSearch
      extended by org.xnap.plugin.freeway.FreewaySearch
All Implemented Interfaces:
org.gnu.freeway.protocol.afs.esed2.SearchResultCallback, org.gnu.freeway.protocol.afs.esed2.TestTerminateThread, Search

public class FreewaySearch
extends AbstractSearch
implements org.gnu.freeway.protocol.afs.esed2.SearchResultCallback, org.gnu.freeway.protocol.afs.esed2.TestTerminateThread


Constructor Summary
FreewaySearch(SearchFilter filter, org.gnu.freeway.protocol.afs.swing.SController controller)
           
 
Method Summary
 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 newNameFor(org.gnu.freeway.protocol.afs.esed2.RootNode arg0, java.lang.String arg1)
           
 void searchResult(org.gnu.freeway.protocol.afs.esed2.RootNode node)
           
 void start(SearchHandler handler)
          Starts this search.
 void stop()
          Cancels this search.
 boolean test()
           
 
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
 

Constructor Detail

FreewaySearch

public FreewaySearch(SearchFilter filter,
                     org.gnu.freeway.protocol.afs.swing.SController controller)
Parameters:
filter -
Method Detail

getStatus

public java.lang.String getStatus()
Description copied from interface: Search
Returns a string that describes the current status.

Specified by:
getStatus in interface Search

isDone

public boolean isDone()
Description copied from interface: Search
Returns true, if this search is finished and can not be started again.

Specified by:
isDone in interface Search

start

public void start(SearchHandler handler)
Description copied from interface: Search
Starts this search.

Specified by:
start in interface Search
Parameters:
handler - the object that handles the results

stop

public void stop()
Description copied from interface: Search
Cancels this search.

Specified by:
stop in interface Search

searchResult

public void searchResult(org.gnu.freeway.protocol.afs.esed2.RootNode node)
Specified by:
searchResult in interface org.gnu.freeway.protocol.afs.esed2.SearchResultCallback

newNameFor

public void newNameFor(org.gnu.freeway.protocol.afs.esed2.RootNode arg0,
                       java.lang.String arg1)
Specified by:
newNameFor in interface org.gnu.freeway.protocol.afs.esed2.SearchResultCallback

test

public boolean test()
Specified by:
test in interface org.gnu.freeway.protocol.afs.esed2.TestTerminateThread


Copyright © 2001-2005 XNap Team. All Rights Reserved.