jruby/docs BETA
org.eclipse.swt.custom 49
C AnimatedProgress
C BidiSegmentEvent
I BidiSegmentListener
C Bullet
C BusyIndicator
C CBanner
C CCombo
C CLabel
C CTabFolder
C CTabFolder2Adapter
I CTabFolder2Listener
C CTabFolderAdapter
C CTabFolderEvent
I CTabFolderListener
C CTabFolderRenderer
C CTabItem
C CaretEvent
I CaretListener
C ControlEditor
C ExtendedModifyEvent
I ExtendedModifyListener
C LineBackgroundEvent
I LineBackgroundListener
C LineStyleEvent
I LineStyleListener
C MovementEvent
I MovementListener
C PaintObjectEvent
I PaintObjectListener
C PopupList
C ST
C SashForm
C ScrolledComposite
C StackLayout
C StyleRange
C StyledText
I StyledTextContent
C StyledTextDropTargetEffect
I StyledTextLineSpacingProvider
C StyledTextPrintOptions
C TableCursor
C TableEditor
I TextChangeListener
C TextChangedEvent
C TextChangingEvent
C TreeCursor
C TreeEditor
I VerifyKeyListener
C ViewForm
MovementEvent — members 6+
F lineOffset() int
F lineText() String
F offset() int
F newOffset() int
F movement() int
C new(e)
from EventObject
M source() Object
from TypedEvent
F data Object
F display Display
F time int
F widget Widget
M to_string() String

org.eclipse.swt.custom.MovementEvent

class extends TypedEvent 6 members

This event is sent when a new offset is required based on the current offset and a movement type.

Fields

fieldtypenote
lineOffset int line start offset (input)
lineText String line text (input)
offset int the current offset (input)
newOffset int the new offset (input, output)
movement int the movement type (input)

Constructors

new

new ( StyledTextEvent e )
Java: <init>(org.eclipse.swt.custom.StyledTextEvent e)

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

nametypedescription
eorg.eclipse.swt.custom.StyledTextEventthe event containing the information

Inherited

from EventObject

source

Object source ( )
Java: getSource() · also: get_source

from TypedEvent

fieldtypenote
data Object a field for application use
display Display the display where the event occurred
time int the time that the event occurred. NOTE: This field is an unsigned integer and should be AND'ed with 0xFFFFFFFFL so that it can be treated as a signed long.
widget Widget the widget that issued the event

to_string

String to_string ( )
Java: toString()

Returns a string containing a concise, human-readable description of the receiver.

Returns: a string representation of the event