Module com.googlecode.lanterna
Package com.googlecode.lanterna.gui2
Interface TextBox.TextChangeListener
- Enclosing class:
TextBox
public static interface TextBox.TextChangeListener
Listener interface for when the
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).-
Method Summary
Modifier and TypeMethodDescriptionvoid
onTextChanged
(String newText, boolean changedByUserInteraction) Callback method invoked by theTextBox
when the text content has changed
-
Method Details