public class DefaultOnlineEngine extends Object implements AutoCompleteOnlineEngine
| Constructor and Description |
|---|
DefaultOnlineEngine() |
| Modifier and Type | Method and Description |
|---|---|
AutoCompleteDictionary.Item |
getItem()
Return the item matched from the last hit.
|
String |
getMatchedText()
Return the text matched from the last hit.
|
boolean |
hit(String typedText)
Try a hit with the typed text.
|
void |
setAutoComplete(AutoComplete autoComplete)
Set the AutoComplete which will be used with the Engine.
|
public void setAutoComplete(AutoComplete autoComplete)
setAutoComplete in interface AutoCompleteEngineautoComplete - the AutoCompletepublic String getMatchedText()
getMatchedText in interface AutoCompleteOnlineEnginepublic AutoCompleteDictionary.Item getItem()
getItem in interface AutoCompleteOnlineEnginepublic boolean hit(String typedText)
hit in interface AutoCompleteEnginetypedText - the typed text