|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.text.source.AnnotationPainter.SquigglesStrategy
Squiggles drawing strategy.
Constructor Summary | |
---|---|
AnnotationPainter.SquigglesStrategy()
|
Method Summary | |
---|---|
void |
draw(Annotation annotation,
GC gc,
StyledText textWidget,
int offset,
int length,
Color color)
Draws a decoration of the given length start at the given offset in the given color onto the specified GC. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AnnotationPainter.SquigglesStrategy()
Method Detail |
public void draw(Annotation annotation, GC gc, StyledText textWidget, int offset, int length, Color color)
AnnotationPainter.IDrawingStrategy
draw
in interface AnnotationPainter.IDrawingStrategy
annotation
- the annotation to be drawngc
- the graphical contexttextWidget
- the text widget to draw onoffset
- the offset of the linelength
- the length of the linecolor
- the color of the line
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.