org.eclipse.swt.custom
Class ExtendedModifyEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.eclipse.swt.internal.SWTEventObject
          extended by org.eclipse.swt.events.TypedEvent
              extended by org.eclipse.swt.custom.ExtendedModifyEvent
All Implemented Interfaces:
java.io.Serializable

public final class ExtendedModifyEvent
extends TypedEvent

This event is sent after a text change occurs.

See Also:
Sample code and further information, Serialized Form

Field Summary
 int length
          length of the new text
 java.lang.String replacedText
          replaced text or empty string if no text was replaced
 int start
          start offset of the new text
 
Fields inherited from class org.eclipse.swt.events.TypedEvent
data, display, time, widget
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ExtendedModifyEvent(org.eclipse.swt.custom.StyledTextEvent e)
          Constructs a new instance of this class based on the information in the given event.
 
Method Summary
 
Methods inherited from class org.eclipse.swt.events.TypedEvent
toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

start

public int start
start offset of the new text


length

public int length
length of the new text


replacedText

public java.lang.String replacedText
replaced text or empty string if no text was replaced

Constructor Detail

ExtendedModifyEvent

public ExtendedModifyEvent(org.eclipse.swt.custom.StyledTextEvent e)
Constructs a new instance of this class based on the information in the given event.

Parameters:
e - the event containing the information