Interface IAutoCompleter

All Known Implementing Classes:
AutoCompleter

public interface IAutoCompleter
Interface for autocompleter.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated. 
    boolean
    Check if the autocompleter is visible.
    boolean
    Process the autocompletion keys.
    void
    Reset the autocompletion keys.
    void
    setVisible(boolean visible)
    Set the visibility of the autocompleter.
    void
    Notify the autocompleter that the text has changed.
    void
    updatePopup(boolean onlyIfVisible)
    Update the autocompleter popup.
  • Method Details

    • addView

      @Deprecated(since="6.1.0") void addView(AbstractAutoCompleterView view)
      Deprecated.
      Add a view to the autocompleter.
      Parameters:
      view - the view to add
    • processKeys

      boolean processKeys(KeyEvent e)
      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.