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 broadcastTextSelectionEvent.- Since:
- 2020-05-30
- Author:
- miki
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.vaadin.flow.shared.RegistrationaddTextSelectionListener(TextSelectionListener<T> listener)Adds the listener.
-
-
-
Method Detail
-
addTextSelectionListener
com.vaadin.flow.shared.Registration addTextSelectionListener(TextSelectionListener<T> listener)
Adds the listener.- Parameters:
listener- A listener to add.- Returns:
- A
Registrationthat can be used to stop listening to the event.
-
-