Interface SuggestModel<T>
-
- Type Parameters:
T
- the class of the beans in the field
- All Superinterfaces:
javax.swing.ComboBoxModel<T>
,java.lang.Iterable<T>
,LazyLoadComboBoxModel<T>
,javax.swing.ListModel<T>
- All Known Implementing Classes:
FileSuggestModel
,PredicateSuggestModel
public interface SuggestModel<T> extends LazyLoadComboBoxModel<T>
The model class for aSuggestField
.
-
-
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 io.github.jonestimd.swing.component.LazyLoadComboBoxModel
addElement, addMissingElements, indexOf, setElements
-
-
-
-
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
-
-