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 DefaultAutoSuggestProvider()
public Vector<String> getSuggestion(String userInput)
AutoSuggestProvider
getSuggestion
in interface AutoSuggestProvider
public void setMaxNrSuggestions(int maxNrSuggestions)
AutoSuggestProvider
setMaxNrSuggestions
in interface AutoSuggestProvider
public int getMaxNrSuggestions()
AutoSuggestProvider
getMaxNrSuggestions
in interface AutoSuggestProvider
public void clear()
AutoSuggestProvider
clear
in interface AutoSuggestProvider
public void stop()
AutoSuggestProvider
stop
in interface AutoSuggestProvider
Copyright © 2000–2018 BioJava. All rights reserved.