public static class TextInputField.TextChangeEvent
extends java.util.EventObject
ValueChangeEvents are fired.
TextChangeEvents differ from ValueChangeEvents only by event attributes,
e.g. text representation of the value (instead of converted to the model type) and cursor position.
| Constructor and Description |
|---|
TextChangeEvent(TextInputField source,
java.lang.String text,
int cursorPosition) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCursorPosition() |
TextInputField |
getSource() |
java.lang.String |
getText() |
public TextChangeEvent(TextInputField source, java.lang.String text, int cursorPosition)
public TextInputField getSource()
getSource in class java.util.EventObjectpublic java.lang.String getText()
public int getCursorPosition()