Class UnderlineDrawingStrategy

java.lang.Object
org.apache.uima.caseditor.editor.annotation.UnderlineDrawingStrategy
All Implemented Interfaces:
org.eclipse.jface.text.source.AnnotationPainter.IDrawingStrategy

public class UnderlineDrawingStrategy extends Object implements org.eclipse.jface.text.source.AnnotationPainter.IDrawingStrategy
Draws an line under an annotation.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    draw(org.eclipse.jface.text.source.Annotation annotation, org.eclipse.swt.graphics.GC gc, org.eclipse.swt.custom.StyledText textWidget, int offset, int length, org.eclipse.swt.graphics.Color color)
    Draws a line under under a given annotation.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UnderlineDrawingStrategy

      public UnderlineDrawingStrategy()
  • Method Details

    • draw

      public void draw(org.eclipse.jface.text.source.Annotation annotation, org.eclipse.swt.graphics.GC gc, org.eclipse.swt.custom.StyledText textWidget, int offset, int length, org.eclipse.swt.graphics.Color color)
      Draws a line under under a given annotation.
      Specified by:
      draw in interface org.eclipse.jface.text.source.AnnotationPainter.IDrawingStrategy
      Parameters:
      annotation - the annotation
      gc - the gc
      textWidget - the text widget
      offset - the offset
      length - the length
      color - the color