public static class TextInputField.TextChangeEvent
extends java.util.EventObject
ValueChangeEvent
s are fired.
TextChangeEvents differ from ValueChangeEvent
s 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.EventObject
public java.lang.String getText()
public int getCursorPosition()