Interface ModifyListener

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 ModifyListener extends SWTEventListener
Classes which implement this interface provide a method that deals with the events that are generated when text is modified.

After creating an instance of a class that implements this interface it can be added to a text widget using the addModifyListener method and removed using the removeModifyListener method. When the text is modified, the modifyText method will be invoked.

See Also:
  • Method Summary

    Modifier and Type
    Sent when the text is modified.
  • Method Details

    • modifyText

      void modifyText(ModifyEvent e)
      Sent when the text is modified.
      e - an event containing information about the modify