Interface CanReceiveSelectionEventsFromClient

All Known Subinterfaces:
WithReceivingSelectionEventsFromClientMixin<SELF>
All Known Implementing Classes:
AbstractSuperFloatingPointField, AbstractSuperNumberField, SuperBigDecimalField, SuperDatePicker, SuperDoubleField, SuperIntegerField, SuperLongField, SuperTextArea, SuperTextField, TextModificationDelegate, TextSelectionDelegate

public interface CanReceiveSelectionEventsFromClient
Marker interface for objects capable of receiving text selection events from client-side code.
Since:
2020-06-04
Author:
miki
  • Method Details

    • 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 a TextSelectionEvent.
    • setReceivingSelectionEventsFromClient

      void setReceivingSelectionEventsFromClient(boolean receivingSelectionEventsFromClient)
      Configures sending events by the client-side component. Note: this feature is by default turned off.
      Parameters:
      receivingSelectionEventsFromClient - When false, selecting text in client-side component will not send an event to server-side component. When true, it will.