public class HistoryCompleter extends AutoCompleterListView
completer
Constructor and Description |
---|
HistoryCompleter() |
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
|
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, getTokenizer, 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 printprotected boolean isEnabled()
AbstractAutoCompleterView
isEnabled
in class AbstractAutoCompleterView