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 Summary
Modifier and TypeFieldDescriptionint
line start offset (input)line text (input)int
the movement type (input)int
the new offset (input, output)int
the current offset (input)Fields inherited from class org.eclipse.swt.events.TypedEvent
data, display, time, widget
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionMovementEvent
(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
-
lineOffset
public int lineOffsetline start offset (input) -
lineText
line text (input) -
offset
public int offsetthe current offset (input) -
newOffset
public int newOffsetthe new offset (input, output) -
movement
public int movementthe movement type (input)
-
-
Constructor Details
-
MovementEvent
public 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
-