Class DefaultAutoSuggestProvider
- java.lang.Object
 - 
- org.biojava.nbio.structure.align.gui.autosuggest.DefaultAutoSuggestProvider
 
 
- 
- All Implemented Interfaces:
 AutoSuggestProvider
public class DefaultAutoSuggestProvider extends Object implements AutoSuggestProvider
 
- 
- 
Constructor Summary
Constructors Constructor Description DefaultAutoSuggestProvider() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()reset all suggestionsintgetMaxNrSuggestions()Get the maximun nr of suggestionsVector<String>getSuggestion(String userInput)get a list of suggestions for a userInputvoidsetMaxNrSuggestions(int maxNrSuggestions)set the maximum number of suggestions to returnvoidstop()Interrupt searching for suggestions 
 - 
 
- 
- 
Constructor Detail
- 
DefaultAutoSuggestProvider
public DefaultAutoSuggestProvider()
 
 - 
 
- 
Method Detail
- 
getSuggestion
public Vector<String> getSuggestion(String userInput)
Description copied from interface:AutoSuggestProviderget a list of suggestions for a userInput- Specified by:
 getSuggestionin interfaceAutoSuggestProvider- Returns:
 - list of suggestions
 
 
- 
setMaxNrSuggestions
public void setMaxNrSuggestions(int maxNrSuggestions)
Description copied from interface:AutoSuggestProviderset the maximum number of suggestions to return- Specified by:
 setMaxNrSuggestionsin interfaceAutoSuggestProvider
 
- 
getMaxNrSuggestions
public int getMaxNrSuggestions()
Description copied from interface:AutoSuggestProviderGet the maximun nr of suggestions- Specified by:
 getMaxNrSuggestionsin interfaceAutoSuggestProvider- Returns:
 - maxNrSuggestions
 
 
- 
clear
public void clear()
Description copied from interface:AutoSuggestProviderreset all suggestions- Specified by:
 clearin interfaceAutoSuggestProvider
 
- 
stop
public void stop()
Description copied from interface:AutoSuggestProviderInterrupt searching for suggestions- Specified by:
 stopin interfaceAutoSuggestProvider
 
 - 
 
 -