blob: 0126a781e7681be725fda3c4015d651e56b806a0 [file] [log] [blame]
package org.eclipse.swt.events;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved
*/
import org.eclipse.swt.internal.SWTEventListener;
/**
* Classes which implement this interface provide a method
* that deals with the events that are generated when text
* is modified.
* <p>
* After creating an instance of a class that implements
* this interface it can be added to a text widget using the
* <code>addModifyListener</code> method and removed using
* the <code>removeModifyListener</code> method. When the
* text is modified, the modifyText method will be invoked.
* </p>
*
* @see ModifyEvent
*/
public interface ModifyListener extends SWTEventListener {
/**
* Sent when the text is modified.
*
* @param e an event containing information about the modify
*/
public void modifyText(ModifyEvent e);
}