Interface IAutoCompleter
- All Known Implementing Classes:
AutoCompleter
public interface IAutoCompleter
Interface for autocompleter.
-
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.booleanCheck if the autocompleter is visible.booleanProcess the autocompletion keys.voidReset the autocompletion keys.voidsetVisible(boolean visible) Set the visibility of the autocompleter.voidNotify the autocompleter that the text has changed.voidupdatePopup(boolean onlyIfVisible) Update the autocompleter popup.
-
Method Details
-
addView
Deprecated.Add a view to the autocompleter.- Parameters:
view- the view to add
-
processKeys
Process the autocompletion keys.- Parameters:
e- the key event to process- Returns:
- true if a key has been processed, false if otherwise.
-
resetKeys
void resetKeys()Reset the autocompletion keys. -
isVisible
boolean isVisible()Check if the autocompleter is visible.- Returns:
- true if visible, false otherwise.
-
setVisible
void setVisible(boolean visible) Set the visibility of the autocompleter.- Parameters:
visible- true to show, false to hide.
-
updatePopup
void updatePopup(boolean onlyIfVisible) Update the autocompleter popup.- Parameters:
onlyIfVisible- true to update only if visible, false otherwise.
-
textDidChange
void textDidChange()Notify the autocompleter that the text has changed.
-