Uses of Class
org.eclipse.swt.custom.StyleRange
Packages that use StyleRange
-
Uses of StyleRange in org.eclipse.swt.custom
Fields in org.eclipse.swt.custom declared as StyleRangeModifier and TypeFieldDescriptionBullet.styleThe bullet style.PaintObjectEvent.stylethe StyleRange(package private) StyleRangeStyledTextEvent.styleLineStyleEvent.stylesline styles (output) Note: Because a StyleRange includes the start and length, the same instance cannot occur multiple times in the array of styles.(package private) StyleRange[]StyledTextEvent.styles(package private) StyleRange[]StyledTextRenderer.styles(package private) StyleRange[]StyledTextRenderer.stylesSetMethods in org.eclipse.swt.custom that return StyleRangeModifier and TypeMethodDescription(package private) StyleRangeStyledTextRenderer.getStyleRange(StyleRange style) StyledText.getStyleRangeAtOffset(int offset) Returns the style range at the given offset.StyledText.getStyleRanges()Returns the styles.StyledText.getStyleRanges(boolean includeRanges) Returns the styles.StyledText.getStyleRanges(int start, int length) Returns the styles for the given text range.StyledText.getStyleRanges(int start, int length, boolean includeRanges) Returns the styles for the given text range.(package private) StyleRange[]StyledTextRenderer.getStyleRanges(int start, int length, boolean includeRanges) private StyleRange[]StyledTextRenderer.getStylesForLine(int lineIndex) Returns styles range for the given line index and null otherwise.Methods in org.eclipse.swt.custom with parameters of type StyleRangeModifier and TypeMethodDescription(package private) intStyledTextRenderer.addMerge(int[] mergeRanges, StyleRange[] mergeStyles, int mergeCount, int modifyStart, int modifyEnd) (package private) intStyledTextRenderer.addMerge(StyleRange[] mergeStyles, int mergeCount, int modifyStart, int modifyEnd) StyledText.computeModifiedLines(int[] referenceRanges, StyleRange[] referenceStyles, int[] newRanges, StyleRange[] newStyles) private int[]StyledText.createRanges(StyleRange[] referenceStyles) (package private) StyleRangeStyledTextRenderer.getStyleRange(StyleRange style) (package private) voidStyledText.paintObject(GC gc, int x, int y, int ascent, int descent, StyleRange style, Bullet bullet, int bulletIndex) voidStyledText.replaceStyleRanges(int start, int length, StyleRange[] ranges) Replaces the styles in the given range with new styles.voidStyledText.setStyleRange(StyleRange range) Adds the specified style.voidStyledText.setStyleRanges(int[] ranges, StyleRange[] styles) Sets styles to be used for rendering the widget content.voidStyledText.setStyleRanges(int start, int length, int[] ranges, StyleRange[] styles) Clears the styles in the range specified bystartandlengthand adds the new styles.(package private) voidStyledText.setStyleRanges(int start, int length, int[] ranges, StyleRange[] styles, boolean reset) voidStyledText.setStyleRanges(StyleRange[] ranges) Sets styles to be used for rendering the widget content.(package private) voidStyledTextRenderer.setStyleRanges(int[] newRanges, StyleRange[] newStyles) booleanStyleRange.similarTo(StyleRange style) Compares the specified object to this StyleRange and answer if the two are similar.(package private) StringHTMLWriter.writeSpanStart(StyleRange style) (package private) StringRTFWriter.writeSpanStart(StyleRange style) (package private) abstract StringStyledTextWriterBase.writeSpanStart(StyleRange style) Invoked at the beginning of each styled span fragment in the original widget.(package private) voidStyledTextWriterBase.writeStyledLine(String line, int lineOffset, int[] ranges, StyleRange[] styles, Color lineBackground, int indent, int verticalIndent, int alignment, boolean justify) Appends the specified line text to the output data.Constructors in org.eclipse.swt.custom with parameters of type StyleRangeModifierConstructorDescriptionBullet(int type, StyleRange style) Create a new bullet the specified style and type.Bullet(StyleRange style) Create a new bullet with the specified style, and typeST.BULLET_DOT.