Package org.eclipse.swt.custom
Class MovementEvent
java.lang.Object
java.util.EventObject
org.eclipse.swt.events.TypedEvent
org.eclipse.swt.custom.MovementEvent
- All Implemented Interfaces:
- Serializable
This event is sent when a new offset is required based on the current
 offset and a movement type.
- Since:
- 3.3
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionintline start offset (input)line text (input)intthe movement type (input)intthe new offset (input, output)intthe current offset (input)Fields inherited from class org.eclipse.swt.events.TypedEventdata, display, time, widgetFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionMovementEvent(org.eclipse.swt.custom.StyledTextEvent e) Constructs a new instance of this class based on the information in the given event.
- 
Method SummaryMethods inherited from class org.eclipse.swt.events.TypedEventtoStringMethods inherited from class java.util.EventObjectgetSource
- 
Field Details- 
lineOffsetpublic int lineOffsetline start offset (input)
- 
lineTextline text (input)
- 
offsetpublic int offsetthe current offset (input)
- 
newOffsetpublic int newOffsetthe new offset (input, output)
- 
movementpublic int movementthe movement type (input)- See Also:
 
 
- 
- 
Constructor Details- 
MovementEventpublic MovementEvent(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
 
 
-