Package org.vaadin.miki.events.text
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 Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.shared.RegistrationaddTextSelectionListener(TextSelectionListener<T> listener) Adds the listener.
-
Method Details
-
addTextSelectionListener
Adds the listener.- Parameters:
listener- A listener to add.- Returns:
- A
Registrationthat can be used to stop listening to the event.
-