public static interface TextBox.TextChangeListener
TextBox
content has changed. This can be either by user interactions with
the component or through programmatically adding and removing lines (there is a flag set on the callback method
to make it possible to distinguish between the two).Modifier and Type | Method | Description |
---|---|---|
void |
onTextChanged(String newText,
boolean changedByUserInteraction) |
Callback method invoked by the
TextBox when the text content has changed |
void onTextChanged(String newText, boolean changedByUserInteraction)
TextBox
when the text content has changednewText
- The new content of the TextBox
changedByUserInteraction
- If true
, then the TextBox was modified through user interaction,
otherwise the content changed from a programmatical update.Copyright © 2020. All rights reserved.