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, setItem
accept, addValidator, convert, getKey, getPrettyString, getString, getValue, isEmpty, removeValidator, setKey, setValue, validate
getString, parse, parseValue
java.util.Set<T> getSuggestions()
java.lang.String getValue(T item)
item
- java.lang.String getSuggestionText(T item)
item
- default java.util.Iterator<T> getItems()
SuggestedItemInput
getItems
in interface SuggestedItemInput<V,T>
default int getCount()
SuggestedItemInput
getCount
in interface SuggestedItemInput<V,T>