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

public Class LineStyleEvent

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

This event is sent when a line is about to be drawn.
See Also
Sample code and further information

Field Summary

Modifier and TypeField and Description
public int
alignment

line alignment (input, output)

public Bullet
bullet

line bullet (output)

public int
bulletIndex

line bullet index (output)

public int
indent

line indent (input, output)

public boolean
justify

line justification (input, output)

public int
lineOffset

line start offset (input)

public String
lineText

line text (input)

public int[]
ranges

line ranges (output)

pack-priv static final long
public StyleRange[]
styles

line styles (output) Note: Because a StyleRange includes the start and length, the same instance cannot occur multiple times in the array of styles.

public int[]
tabStops

line tab stops (output)

pack-priv int
verticalIndent

line vertical indent (input, output)

public int
wrapIndent

line wrap indent (input, output)

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

Constructor Summary

AccessConstructor and Description
public
LineStyleEvent(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

alignmentback to summary
public int alignment

line alignment (input, output)

Since
3.2
bulletback to summary
public Bullet bullet

line bullet (output)

Since
3.2
bulletIndexback to summary
public int bulletIndex

line bullet index (output)

Since
3.2
indentback to summary
public int indent

line indent (input, output)

Since
3.2
justifyback to summary
public boolean justify

line justification (input, output)

Since
3.2
lineOffsetback to summary
public int lineOffset

line start offset (input)

lineTextback to summary
public String lineText

line text (input)

rangesback to summary
public int[] ranges

line ranges (output)

Since
3.2
serialVersionUIDback to summary
pack-priv static final long serialVersionUID

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

stylesback to summary
public StyleRange[] styles

line styles (output) Note: Because a StyleRange includes the start and length, the same instance cannot occur multiple times in the array of styles. If the same style attributes, such as font and color, occur in multiple StyleRanges, ranges can be used to share styles and reduce memory usage.

tabStopsback to summary
public int[] tabStops

line tab stops (output)

Since
3.6
verticalIndentback to summary
pack-priv int verticalIndent

line vertical indent (input, output)

Since
3.109
wrapIndentback to summary
public int wrapIndent

line wrap indent (input, output)

Since
3.6

Constructor Detail

LineStyleEventback to summary
public LineStyleEvent(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