Interface AutoSuggestProvider
- All Known Implementing Classes:
 DefaultAutoSuggestProvider,SCOPAutoSuggestProvider
public interface AutoSuggestProvider
A class that provides auto-completion suggestions for JAutoSuggest
- Author:
 - AndreasPrlic
 
- 
Method Summary
Modifier and TypeMethodDescriptionvoidclear()reset all suggestionsintGet the maximun nr of suggestionsgetSuggestion(String userInput) get a list of suggestions for a userInputvoidsetMaxNrSuggestions(int maxNrSuggestions) set the maximum number of suggestions to returnvoidstop()Interrupt searching for suggestions 
- 
Method Details
- 
getSuggestion
get a list of suggestions for a userInput- Parameters:
 userInput-- Returns:
 - list of suggestions
 
 - 
setMaxNrSuggestions
set the maximum number of suggestions to return- Parameters:
 maxNrSuggestions-
 - 
getMaxNrSuggestions
int getMaxNrSuggestions()Get the maximun nr of suggestions- Returns:
 - maxNrSuggestions
 
 - 
clear
void clear()reset all suggestions - 
stop
void stop()Interrupt searching for suggestions 
 -