|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Search
Defines the requirements for classes that provide search support.
start() is called first. If the user aborts the search stop() is called.
After stop() has been called start() might be called again to requery the search.
Method Summary | |
---|---|
javax.swing.Action[] |
getActions()
Returns additional actions for this search that can be performed besides stop and requery. |
SearchFilter |
getFilter()
Returns the search filter that was used to find the results. |
java.lang.String |
getName()
Returns a string that should be shown to the user. |
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. |
boolean |
showTree()
Returns true, if a tree should be shown next to search results. |
void |
start(SearchHandler handler)
Starts this search. |
void |
stop()
Cancels this search. |
Method Detail |
---|
javax.swing.Action[] getActions()
SearchFilter getFilter()
java.lang.String getName()
java.lang.String getStatus()
boolean isDone()
boolean showTree()
void start(SearchHandler handler)
handler
- the object that handles the resultsvoid stop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |