Package org.eclipse.jface.text.source
Class AnnotationPainter.UnderlineStrategy
java.lang.Object
org.eclipse.jface.text.source.AnnotationPainter.UnderlineStrategy
- All Implemented Interfaces:
AnnotationPainter.ITextStyleStrategy
- Enclosing class:
AnnotationPainter
public static final class AnnotationPainter.UnderlineStrategy
extends Object
implements AnnotationPainter.ITextStyleStrategy
Underline text style strategy.
- Since:
- 3.4
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTextStyle(StyleRange styleRange, Color annotationColor) Applies a text style on the givenStyleRange.
-
Constructor Details
-
UnderlineStrategy
public UnderlineStrategy(int style)
-
-
Method Details
-
applyTextStyle
Description copied from interface:AnnotationPainter.ITextStyleStrategyApplies a text style on the givenStyleRange.- Specified by:
applyTextStylein interfaceAnnotationPainter.ITextStyleStrategy- Parameters:
styleRange- the style range on which to apply the text styleannotationColor- the color of the annotation
-