Interface TextCompleterModel<T>
- All Known Implementing Classes:
DefaultTextCompleterModel,FinalTokenTextCompleterModel,TierNameTextCompleterModel,TreeTextCompleterModel
public interface TextCompleterModel<T>
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddCompletion(String completion, T value) Add completion to model with given data.voidcompleteText(String text, String completion) Perform completion and return new text.booleancontainsCompletion(String completion) getCompletions(String text) Return completions for given text.Get data for completion key.getDisplayText(String completion) Get text used for display of completion.voidremoveCompletion(String key) Remove completion from model.
-
Method Details
-
addCompletion
-
removeCompletion
-
clearCompletions
void clearCompletions() -
getData
-
getDisplayText
-
getCompletions
-
completeText
-
containsCompletion
-