Uses of Class
org.eclipse.swt.custom.StyleRange
-
Packages that use StyleRange Package Description org.eclipse.swt.custom -
-
Uses of StyleRange in org.eclipse.swt.custom
Fields in org.eclipse.swt.custom declared as StyleRange Modifier and Type Field Description StyleRange
Bullet. style
The bullet style.StyleRange
PaintObjectEvent. style
the StyleRangeStyleRange[]
LineStyleEvent. 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.Methods in org.eclipse.swt.custom that return StyleRange Modifier and Type Method Description StyleRange
StyledText. getStyleRangeAtOffset(int offset)
Returns the style range at the given offset.StyleRange[]
StyledText. getStyleRanges()
Returns the styles.StyleRange[]
StyledText. getStyleRanges(boolean includeRanges)
Returns the styles.StyleRange[]
StyledText. getStyleRanges(int start, int length)
Returns the styles for the given text range.StyleRange[]
StyledText. getStyleRanges(int start, int length, boolean includeRanges)
Returns the styles for the given text range.Methods in org.eclipse.swt.custom with parameters of type StyleRange Modifier and Type Method Description void
StyledText. replaceStyleRanges(int start, int length, StyleRange[] ranges)
Replaces the styles in the given range with new styles.void
StyledText. setStyleRange(StyleRange range)
Adds the specified style.void
StyledText. setStyleRanges(int[] ranges, StyleRange[] styles)
Sets styles to be used for rendering the widget content.void
StyledText. setStyleRanges(int start, int length, int[] ranges, StyleRange[] styles)
Clears the styles in the range specified bystart
andlength
and adds the new styles.void
StyledText. setStyleRanges(StyleRange[] ranges)
Sets styles to be used for rendering the widget content.boolean
StyleRange. similarTo(StyleRange style)
Compares the specified object to this StyleRange and answer if the two are similar.Constructors in org.eclipse.swt.custom with parameters of type StyleRange Constructor Description Bullet(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
.
-