|
Oxygen XML Editor 11.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ro.sync.ecss.extensions.api.highlights.ColorHighlightPainter
public class ColorHighlightPainter
Paint spell check markers on a view.
Constructor Summary | |
---|---|
ColorHighlightPainter()
Default constructor. |
|
ColorHighlightPainter(Color color,
int height,
int totalHeight)
Constructor. |
Method Summary | |
---|---|
void |
paint(HighlightPainterInfo pi)
Renders the highlight. |
void |
setBgColor(Color bgColor)
|
void |
setColor(Color c)
Set the color. |
void |
setStrikeOut(boolean strikeOut)
|
boolean |
useBaseLineForUnderline()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ColorHighlightPainter()
public ColorHighlightPainter(Color color, int height, int totalHeight)
color
- The color to use for highlight.height
- The height of the highlight line. This may be smaller than the total height. If it is, the extra space
will remain under the line.totalHeight
- The height of the highlight.Method Detail |
---|
public void paint(HighlightPainterInfo pi)
HighlightPainter
paint
in interface HighlightPainter
pi
- Information used by highlightHighlightPainter.paint(ro.sync.ecss.extensions.api.highlights.HighlightPainterInfo)
public void setColor(Color c)
c
- The color.public void setStrikeOut(boolean strikeOut)
strikeOut
- Set this highlight as strike out.public void setBgColor(Color bgColor)
bgColor
- The background color to set.public boolean useBaseLineForUnderline()
|
Oxygen XML Editor 11.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |