Interface ExtendedModifyListener

  • All Superinterfaces:
    java.util.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 ExtendedModifyListener
    extends SWTEventListener
    Classes which implement this interface provide a method that deals with the event that is generated when text is modified.
    See Also:
    ExtendedModifyEvent, Sample code and further information
    • Method Detail

      • modifyText

        void modifyText​(ExtendedModifyEvent event)
        This method is called after a text change occurs.

        The following event fields are used:

        • event.start the start offset of the new text (input)
        • event.length the length of the new text (input)
        • event.replacedText the replaced text (input)
        Parameters:
        event - the given event
        See Also:
        ExtendedModifyEvent