Package org.eclipse.swt.custom
Class LineStyleEvent
java.lang.Object
java.util.EventObject
org.eclipse.swt.events.TypedEvent
org.eclipse.swt.custom.LineStyleEvent
- All Implemented Interfaces:
- Serializable
This event is sent when a line is about to be drawn.
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionintline alignment (input, output)line bullet (output)intline bullet index (output)intline indent (input, output)booleanline justification (input, output)intline start offset (input)line text (input)int[]line ranges (output)line styles (output) Note: Because a StyleRange includes the start and length, the same instance cannot occur multiple times in the array of styles.int[]line tab stops (output)intline wrap indent (input, output)Fields inherited from class org.eclipse.swt.events.TypedEventdata, display, time, widgetFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionLineStyleEvent(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)
- 
rangespublic int[] rangesline ranges (output)- Since:
- 3.2
 
- 
stylesline 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,rangescan be used to share styles and reduce memory usage.
- 
alignmentpublic int alignmentline alignment (input, output)- Since:
- 3.2
 
- 
indentpublic int indentline indent (input, output)- Since:
- 3.2
 
- 
wrapIndentpublic int wrapIndentline wrap indent (input, output)- Since:
- 3.6
 
- 
justifypublic boolean justifyline justification (input, output)- Since:
- 3.2
 
- 
bulletline bullet (output)- Since:
- 3.2
 
- 
bulletIndexpublic int bulletIndexline bullet index (output)- Since:
- 3.2
 
- 
tabStopspublic int[] tabStopsline tab stops (output)- Since:
- 3.6
 
 
- 
- 
Constructor Details- 
LineStyleEventpublic LineStyleEvent(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
 
 
-