We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.ui.
Class AbstractTextField.TextChangeEventImpl
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.event.ConnectorEvent
-
- com.vaadin.ui.Component.Event
-
- com.vaadin.event.FieldEvents.TextChangeEvent
-
- com.vaadin.ui.AbstractTextField.TextChangeEventImpl
-
All Implemented Interfaces:
Enclosing class:
public static class AbstractTextField.TextChangeEventImpl extends FieldEvents.TextChangeEvent
See Also:
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Method Summary
All Methods Modifier and Type Method Description AbstractTextField
getComponent()
Gets the component where the event occurred.
int
getCursorPosition()
String
getText()
-
Methods inherited from class com.vaadin.event.ConnectorEvent
getConnector
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Method Detail
-
getComponent
public AbstractTextField getComponent()
Description copied from class:
Component.Event
Gets the component where the event occurred.
Overrides:
getComponent
in classComponent.Event
Returns:
the source component of the event
-
getText
public String getText()
Specified by:
getText
in classFieldEvents.TextChangeEvent
Returns:
the text content of the field after the
FieldEvents.TextChangeEvent
-
getCursorPosition
public int getCursorPosition()
Specified by:
getCursorPosition
in classFieldEvents.TextChangeEvent
Returns:
the cursor position during after the
FieldEvents.TextChangeEvent
-
-