org.eclipse.swt.custom
Interface TextChangeListener

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

public interface TextChangeListener
extends org.eclipse.swt.internal.SWTEventListener

Unsafe:


Method Summary
 void textChanged(TextChangedEvent event)
          Suppressed: This method is called when the content has changed.
 void textChanging(TextChangingEvent event)
          Suppressed: This method is called when the content is about to be changed.
 void textSet(TextChangedEvent event)
          Suppressed: This method is called instead of the textChanging/textChanged combination when the entire old content has been replaced (e.g., by a call to StyledTextContent.setText()).
 

Method Detail

textChanging

public void textChanging(TextChangingEvent event)
Suppressed: This method is called when the content is about to be changed. Callers also need to call the textChanged method after the content change has been applied. The widget only updates the screen properly when it receives both events.

Parameters:
event - the text changing event. All event fields need to be set by the sender.
See Also:
TextChangingEvent

textChanged

public void textChanged(TextChangedEvent event)
Suppressed: This method is called when the content has changed. Callers need to have called the textChanging method prior to applying the content change and calling this method. The widget only updates the screen properly when it receives both events.

Parameters:
event - the text changed event

textSet

public void textSet(TextChangedEvent event)
Suppressed: This method is called instead of the textChanging/textChanged combination when the entire old content has been replaced (e.g., by a call to StyledTextContent.setText()).

Parameters:
event - the text changed event


comments?