public class AutoCompleter extends java.lang.Object implements IAutoCompleter
Modifier and Type | Field and Description |
---|---|
static int |
PAGE_ROW_COUNT |
Constructor and Description |
---|
AutoCompleter(EditorTextArea3 editor) |
Modifier and Type | Method and Description |
---|---|
protected void |
acceptedListItem(AutoCompleterItem selected)
Replace the text in the editor with the accepted item.
|
void |
addView(AbstractAutoCompleterView view) |
void |
doSelection() |
AbstractAutoCompleterView |
getCurrentView() |
boolean |
isVisible() |
java.lang.String |
keyText(int base,
int modifier)
get the key text
|
boolean |
processKeys(java.awt.event.KeyEvent e)
Process the autocompletion keys
|
void |
resetKeys() |
void |
setVisible(boolean isVisible) |
void |
textDidChange() |
void |
updatePopup(boolean onlyIfVisible)
Show the popup list.
|
public static final int PAGE_ROW_COUNT
public AutoCompleter(EditorTextArea3 editor)
public void addView(AbstractAutoCompleterView view)
addView
in interface IAutoCompleter
public boolean processKeys(java.awt.event.KeyEvent e)
e
- the key event to processpublic void doSelection()
public void updatePopup(boolean onlyIfVisible)
protected void acceptedListItem(AutoCompleterItem selected)
selected
- public AbstractAutoCompleterView getCurrentView()
public boolean isVisible()
public void setVisible(boolean isVisible)
public java.lang.String keyText(int base, int modifier)
base
- modifier
- public void textDidChange()
public final void resetKeys()
resetKeys
in interface IAutoCompleter