Interface TextSelectionNotifier<T extends com.vaadin.flow.component.Component & CanSelectText>

All Known Implementing Classes:
AbstractSuperFloatingPointField, AbstractSuperNumberField, SuperBigDecimalField, SuperDatePicker, SuperDoubleField, SuperIntegerField, SuperLongField, SuperTextArea, SuperTextField, TextModificationDelegate, TextSelectionDelegate
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface TextSelectionNotifier<T extends com.vaadin.flow.component.Component & CanSelectText>
Marker interface for objects that broadcast TextSelectionEvent.
Since:
2020-05-30
Author:
miki
  • Method Details

    • addTextSelectionListener

      com.vaadin.flow.shared.Registration addTextSelectionListener(TextSelectionListener<T> listener)
      Adds the listener.
      Parameters:
      listener - A listener to add.
      Returns:
      A Registration that can be used to stop listening to the event.