T - item typeV - input typepublic interface AutoComplete<T,V> extends SuggestedItemInput<V,T>, ParseInput<V>
| Modifier and Type | Method and Description |
|---|---|
default int |
getCount()
get the number of suggested items.
|
default java.util.Iterator<T> |
getItems()
get a list of domain objects that are being selected
|
java.util.Set<T> |
getSuggestions()
Get the set of Items corresponding to a suggested values
|
java.lang.String |
getSuggestionText(T item)
get the suggestion text.
|
java.lang.String |
getValue(T item)
Map an item to the corresponding value (compatible with the parse method).
|
getItem, getItembyValue, setItemaccept, addValidator, convert, getKey, getPrettyString, getString, getValue, isEmpty, removeValidator, setKey, setValue, validategetString, parse, parseValuejava.util.Set<T> getSuggestions()
java.lang.String getValue(T item)
item - java.lang.String getSuggestionText(T item)
item - default java.util.Iterator<T> getItems()
SuggestedItemInputgetItems in interface SuggestedItemInput<V,T>default int getCount()
SuggestedItemInputgetCount in interface SuggestedItemInput<V,T>