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, setTrim
accept, getBoxWidth, getMaxResultLength, getSingle, setBoxWidth, setMaxResultLength, setSingle
getValue, setKey, setValue
addValidator, convert, getKey, getPrettyString, getString, getString, removeValidator, validate, validateInner
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCount, getItems
getItem, getItembyValue
accept, addValidator, convert, getKey, getPrettyString, getString, getValue, isEmpty, removeValidator, setKey, setValue, validate
getString, parse, parseValue
public abstract java.util.Set<T> getSuggestions()
AutoComplete
getSuggestions
in interface AutoComplete<T,java.lang.String>
public abstract java.lang.String getValue(T item)
AutoComplete
getValue
in interface AutoComplete<T,java.lang.String>
public java.lang.String getSuggestionText(T item)
AutoComplete
getSuggestionText
in interface AutoComplete<T,java.lang.String>