Package com.vaadin.flow.component
Interface InputNotifier
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractNumberField,BigDecimalField,EmailField,IntegerField,NumberField,PasswordField,RichTextEditor,TextArea,TextField
public interface InputNotifier extends Serializable
Mixin interface for components that support adding input listeners to the their root elements.- Since:
- 1.0
- Author:
- Vaadin Ltd
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default RegistrationaddInputListener(ComponentEventListener<InputEvent> listener)Adds an input listener to this component.
-
-
-
Method Detail
-
addInputListener
default Registration addInputListener(ComponentEventListener<InputEvent> listener)
Adds an input listener to this component.- Parameters:
listener- the listener to add, notnull- Returns:
- a handle that can be used for removing the listener
-
-