public abstract class AutocompleteTextInput<T> extends TextInput implements ItemInput<java.lang.String,T>, AutoComplete<T,java.lang.String>
validators| Constructor and Description |
|---|
AutocompleteTextInput() |
| Modifier and Type | Method and Description |
|---|---|
abstract 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.
|
abstract java.lang.String |
getValue(T item)
Map an item to the corresponding value (compatible with the parse method).
|
void |
setItem(T item)
Set the value of the input using an item
|
getTrim, isEmpty, mapToSingleLine, parseValue, setTrimaccept, getBoxWidth, getMaxResultLength, getSingle, setBoxWidth, setMaxResultLength, setSinglegetValue, setKey, setValueaddValidator, convert, getKey, getPrettyString, getString, getString, removeValidator, validate, validateInnerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCount, getItemsgetItem, getItembyValueaccept, addValidator, convert, getKey, getPrettyString, getString, getValue, isEmpty, removeValidator, setKey, setValue, validategetString, parse, parseValuepublic abstract java.util.Set<T> getSuggestions()
AutoCompletegetSuggestions in interface AutoComplete<T,java.lang.String>public abstract java.lang.String getValue(T item)
AutoCompletegetValue in interface AutoComplete<T,java.lang.String>public java.lang.String getSuggestionText(T item)
AutoCompletegetSuggestionText in interface AutoComplete<T,java.lang.String>