public interface AutoCompleteAdapterBase
Modifier and Type | Method and Description |
---|---|
void |
filter(String charText)
Filtering logic used to filter only the suggestions which are appropriate for the input text.
|
Function2Async<String,List<TokenModel>,List<TokenModel>> |
getCompletionMode()
Returns filtering mode based on whether item starts with filtering string or contains it.
|
List<TokenModel> |
getFilteredList()
Gets list with filtered items.
|
void |
setCompletionMode(Function2Async<String,List<TokenModel>,List<TokenModel>> mode)
Sets filtering mode based on whether item starts with filtering string or contains it.
|
Function2Async<String,List<TokenModel>,List<TokenModel>> getCompletionMode()
void setCompletionMode(Function2Async<String,List<TokenModel>,List<TokenModel>> mode)
List<TokenModel> getFilteredList()
void filter(String charText)
charText
- The input text by which the suggestions are filtered.