Interface SuggestModel<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T updateSuggestions​(java.lang.String editorText)
      Update the elements in this model and return the selected item.
      • Methods inherited from interface javax.swing.ComboBoxModel

        getSelectedItem, setSelectedItem
      • Methods inherited from interface java.lang.Iterable

        forEach, iterator, spliterator
      • Methods inherited from interface javax.swing.ListModel

        addListDataListener, getElementAt, getSize, removeListDataListener
    • Method Detail

      • updateSuggestions

        T updateSuggestions​(java.lang.String editorText)
        Update the elements in this model and return the selected item.
        Parameters:
        editorText - the current editor text
        Returns:
        the selected item based on the editor text