Interface BidiSegmentListener

All Superinterfaces:
EventListener, SWTEventListener
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 BidiSegmentListener extends SWTEventListener
This listener interface may be implemented in order to receive BidiSegmentEvents.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method is called when a line needs to be reordered for measuring or rendering in a bidi locale.
  • Method Details

    • lineGetSegments

      void lineGetSegments(BidiSegmentEvent event)
      This method is called when a line needs to be reordered for measuring or rendering in a bidi locale.

      The following event fields are used:

      • event.lineOffset line start offset (input)
      • event.lineText line text (input)
      • event.segments text segments that should be reordered separately (output)
      • event.segmentsChars characters that should be inserted (output, optional)
      Parameters:
      event - the given event
      See Also: