public static interface TextInputField.TextChangeNotifier
Subscription addTextChangeListener(java.util.function.Consumer<TextInputField.TextChangeEvent> listener)
listener
- a listener to addSubscription
object@Deprecated void removeTextChangeListener(java.util.function.Consumer<TextInputField.TextChangeEvent> listener)
Subscription
insteadlistener
- a listener to removeint getTextChangeTimeout()
TextInputField.TextChangeEvent
s and ValueChangeEvent
s when the
getTextChangeEventMode()
is TextInputField.TextChangeEventMode.LAZY
or
TextInputField.TextChangeEventMode.TIMEOUT
.void setTextChangeTimeout(int timeout)
getTextChangeEventMode()
is
TextInputField.TextChangeEventMode.LAZY
or TextInputField.TextChangeEventMode.TIMEOUT
.timeout
- timeout in millisecondsTextInputField.TextChangeEventMode getTextChangeEventMode()
TextInputField.TextChangeEvent
s and ValueChangeEvent
s.void setTextChangeEventMode(TextInputField.TextChangeEventMode mode)
TextInputField.TextChangeEvent
s and ValueChangeEvent
s.mode
- the new mode