public class AutotextAutoCompleterView extends AutoCompleterListView
completer
Constructor and Description |
---|
AutotextAutoCompleterView() |
Modifier and Type | Method and Description |
---|---|
java.util.List<AutoCompleterItem> |
computeListData(java.lang.String prevText,
boolean contextualOnly)
Compute the items visible in the auto-completer list
|
ITokenizer |
getTokenizer()
Return the tokenizer for use with the view.
|
protected boolean |
isEnabled()
Indicates whether the view should be considered "on" or "off".
|
java.lang.String |
itemToString(AutoCompleterItem item)
Each view should determine how to print a view item.
|
getLastToken, getList, getPreferredHeight, getPreferredWidth, getRowCount, getSelectedValue, getViewContent, processKeys, selectNextPossibleValue, selectNextPossibleValueByPage, selectPreviousPossibleValue, selectPreviousPossibleValueByPage, setData, shouldPopUp, updateViewData
getLeadingText, getModifiedRowCount, getName, getTargetLanguage, setParent, shouldCloseOnSelection
public java.util.List<AutoCompleterItem> computeListData(java.lang.String prevText, boolean contextualOnly)
AutoCompleterListView
computeListData
in class AutoCompleterListView
prevText
- the text in the editing field up to the cursor locationpublic java.lang.String itemToString(AutoCompleterItem item)
AutoCompleterListView
itemToString
in class AutoCompleterListView
item
- The item to printpublic ITokenizer getTokenizer()
AbstractAutoCompleterView
getTokenizer
in class AbstractAutoCompleterView
protected boolean isEnabled()
AbstractAutoCompleterView
isEnabled
in class AbstractAutoCompleterView