com.vaadin.flow.component.

Interface InputNotifier

All Superinterfaces:

Serializable

All Known Implementing Classes:

AbstractNumberField, BigDecimalField, EmailField, IntegerField, NumberField, PasswordField, RichTextEditor, TextArea, TextField, TextFieldBase

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 Details

    • addInputListener

      default Registration addInputListener(ComponentEventListener<InputEvent> listener)

      Adds an input listener to this component.

      Parameters:

      listener - the listener to add, not null

      Returns:

      a handle that can be used for removing the listener