Package org.eclipse.swt.events
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 theremoveModifyListener
method. When the text is modified, the modifyText method will be invoked.- See Also:
ModifyEvent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
modifyText(ModifyEvent e)
Sent when the text is modified.
-
-
-
Method Detail
-
modifyText
void modifyText(ModifyEvent e)
Sent when the text is modified.- Parameters:
e
- an event containing information about the modify
-
-