Package org.eclipse.swt.custom
Class ExtendedModifyEvent
java.lang.Object
java.util.EventObject
org.eclipse.swt.events.TypedEvent
org.eclipse.swt.custom.ExtendedModifyEvent
- All Implemented Interfaces:
Serializable
This event is sent after a text change occurs.
-
Field Summary
Modifier and TypeFieldDescriptionint
length of the new textreplaced text or empty string if no text was replacedint
start offset of the new textFields inherited from class org.eclipse.swt.events.TypedEvent
data, display, time, widget
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionExtendedModifyEvent
(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
-
Field Details
-
start
public int startstart offset of the new text -
length
public int lengthlength of the new text -
replacedText
replaced text or empty string if no text was replaced
-
-
Constructor Details
-
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
-