Class AutoSuggestor

java.lang.Object
es.imim.DISGENET.search.AutoSuggestor

public class AutoSuggestor extends Object
  • Constructor Details

  • Method Details

    • isSelectingSuggestion

      protected boolean isSelectingSuggestion()
    • onSearchFieldFocusLost

      protected void onSearchFieldFocusLost()
    • selectSuggestion

      protected void selectSuggestion(String suggestion)
    • hideSuggestions

      protected void hideSuggestions()
    • getAddedSuggestionLabels

      public ArrayList<es.imim.DISGENET.search.SuggestionLabel> getAddedSuggestionLabels()
    • addWordToSuggestions

      protected void addWordToSuggestions(String word)
    • getCurrentlyTypedWord

      public String getCurrentlyTypedWord()
    • getAutoSuggestionPopUpWindow

      public JWindow getAutoSuggestionPopUpWindow()
    • getContainer

      public Window getContainer()
    • getTextField

      public JTextField getTextField()
    • addToDictionary

      public void addToDictionary(String word)
    • setDictionary

      public void setDictionary(ArrayList<String> words)
    • showSuggestions

      public void showSuggestions(List<String> words)
      Display server-ranked suggestions directly, without requiring a prefix match.