Class SCOPAutoSuggestProvider
java.lang.Object
org.biojava.nbio.structure.align.gui.autosuggest.SCOPAutoSuggestProvider
- All Implemented Interfaces:
AutoSuggestProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
reset all suggestionsint
Get the maximun nr of suggestionsgetSuggestion
(String userInput) get a list of suggestions for a userInputvoid
setMaxNrSuggestions
(int maxNrSuggestions) set the maximum number of suggestions to returnvoid
stop()
Interrupt searching for suggestions
-
Constructor Details
-
SCOPAutoSuggestProvider
public SCOPAutoSuggestProvider()
-
-
Method Details
-
getSuggestion
Description copied from interface:AutoSuggestProvider
get a list of suggestions for a userInput- Specified by:
getSuggestion
in interfaceAutoSuggestProvider
- Returns:
- list of suggestions
-
setMaxNrSuggestions
public void setMaxNrSuggestions(int maxNrSuggestions) Description copied from interface:AutoSuggestProvider
set the maximum number of suggestions to return- Specified by:
setMaxNrSuggestions
in interfaceAutoSuggestProvider
-
getMaxNrSuggestions
public int getMaxNrSuggestions()Description copied from interface:AutoSuggestProvider
Get the maximun nr of suggestions- Specified by:
getMaxNrSuggestions
in interfaceAutoSuggestProvider
- Returns:
- maxNrSuggestions
-
clear
public void clear()Description copied from interface:AutoSuggestProvider
reset all suggestions- Specified by:
clear
in interfaceAutoSuggestProvider
-
stop
public void stop()Description copied from interface:AutoSuggestProvider
Interrupt searching for suggestions- Specified by:
stop
in interfaceAutoSuggestProvider
-