Top Description Fields Constructors Methods
org.eclipse.swt.custom

public Class MovementEvent

extends TypedEvent
Class Inheritance
Imports
org.eclipse.swt.events.*

This event is sent when a new offset is required based on the current offset and a movement type.
Since
3.3
See Also
Sample code and further information

Field Summary

Modifier and TypeField and Description
public int
lineOffset

line start offset (input)

public String
lineText

line text (input)

public int
movement

the movement type (input)

public int
newOffset

the new offset (input, output)

public int
offset

the current offset (input)

pack-priv static final long
Inherited from org.eclipse.swt.events.TypedEvent:
datadisplaytimewidget

Constructor Summary

AccessConstructor and Description
public
MovementEvent(StyledTextEvent
the event containing the information
e
)

Constructs a new instance of this class based on the information in the given event.

Method Summary

Inherited from org.eclipse.swt.events.TypedEvent:
toString

Field Detail

lineOffsetback to summary
public int lineOffset

line start offset (input)

lineTextback to summary
public String lineText

line text (input)

movementback to summary
public int movement

the movement type (input)

See Also
org.eclipse.swt.SWT#MOVEMENT_WORD, org.eclipse.swt.SWT#MOVEMENT_WORD_END, org.eclipse.swt.SWT#MOVEMENT_WORD_START, org.eclipse.swt.SWT#MOVEMENT_CHAR, org.eclipse.swt.SWT#MOVEMENT_CLUSTER
newOffsetback to summary
public int newOffset

the new offset (input, output)

offsetback to summary
public int offset

the current offset (input)

serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides org.eclipse.swt.events.TypedEvent.serialVersionUID.

Constructor Detail

MovementEventback to summary
public MovementEvent(StyledTextEvent e)

Constructs a new instance of this class based on the information in the given event.

Parameters
e:StyledTextEvent

the event containing the information