public class DefaultAutoSuggestProvider extends Object implements AutoSuggestProvider
| Constructor and Description |
|---|
DefaultAutoSuggestProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
reset all suggestions
|
int |
getMaxNrSuggestions()
Get the maximun nr of suggestions
|
Vector<String> |
getSuggestion(String userInput)
get a list of suggestions for a userInput
|
void |
setMaxNrSuggestions(int maxNrSuggestions)
set the maximum number of suggestions to return
|
void |
stop()
Interrupt searching for suggestions
|
public Vector<String> getSuggestion(String userInput)
AutoSuggestProvidergetSuggestion in interface AutoSuggestProviderpublic void setMaxNrSuggestions(int maxNrSuggestions)
AutoSuggestProvidersetMaxNrSuggestions in interface AutoSuggestProviderpublic int getMaxNrSuggestions()
AutoSuggestProvidergetMaxNrSuggestions in interface AutoSuggestProviderpublic void clear()
AutoSuggestProviderclear in interface AutoSuggestProviderpublic void stop()
AutoSuggestProviderstop in interface AutoSuggestProviderCopyright © 2000–2016 BioJava. All rights reserved.