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 StyleRangeLineStyleEvent.stylesline 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 StyleRangeModifier and TypeMethodDescriptionStyledText.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.Methods in org.eclipse.swt.custom with parameters of type StyleRangeModifier and TypeMethodDescriptionvoidStyledText.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.voidStyledText.setStyleRanges(StyleRange[] ranges) Sets styles to be used for rendering the widget content.booleanStyleRange.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 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.