Package org.vaadin.miki.markers
Interface CanReceiveSelectionEventsFromClient
-
- All Known Subinterfaces:
WithReceivingSelectionEventsFromClientMixin<SELF>
- All Known Implementing Classes:
AbstractSuperFloatingPointField,AbstractSuperNumberField,SuperBigDecimalField,SuperDatePicker,SuperDoubleField,SuperIntegerField,SuperLongField,SuperTextArea,SuperTextField,TextModificationDelegate,TextSelectionDelegate
public interface CanReceiveSelectionEventsFromClientMarker interface for objects capable of receiving text selection events from client-side code.- Since:
- 2020-06-04
- Author:
- miki
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisReceivingSelectionEventsFromClient()Check if client will inform server on selection change.voidsetReceivingSelectionEventsFromClient(boolean receivingSelectionEventsFromClient)Configures sending events by the client-side component.
-
-
-
Method Detail
-
isReceivingSelectionEventsFromClient
boolean isReceivingSelectionEventsFromClient()
Check if client will inform server on selection change. Note: this feature is by default turned off.- Returns:
- When
true, each selection change in the client-side component will result in this component broadcasting aTextSelectionEvent.
-
setReceivingSelectionEventsFromClient
void setReceivingSelectionEventsFromClient(boolean receivingSelectionEventsFromClient)
Configures sending events by the client-side component. Note: this feature is by default turned off.- Parameters:
receivingSelectionEventsFromClient- Whenfalse, selecting text in client-side component will not send an event to server-side component. Whentrue, it will.
-
-