Eclipse Platform
2.0

org.eclipse.swt.events
Interface ModifyListener

All Superinterfaces:
EventListener, org.eclipse.swt.internal.SWTEventListener

public interface ModifyListener
extends 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.

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:
ModifyEvent

Method Summary
 void modifyText(ModifyEvent e)
          Sent when the text is modified.
 

Method Detail

modifyText

public void modifyText(ModifyEvent e)
Sent when the text is modified.

Parameters:
e - an event containing information about the modify

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.