Business Objects
Quark Platform Documentation
Version 1.7.1_0
Business Objects

org.openquark.gems.client.caleditor
Class AdvancedCALEditor.UnderlineHighlightPainter

java.lang.Object
  extended by org.openquark.gems.client.caleditor.AdvancedCALEditor.UnderlineHighlightPainter
All Implemented Interfaces:
Highlighter.HighlightPainter
Enclosing class:
AdvancedCALEditor

public abstract static class AdvancedCALEditor.UnderlineHighlightPainter
extends Object
implements Highlighter.HighlightPainter

This class draws a little squiggly underline as the highlight. It is used to indicate the location of code errors and ambiguities. NOTE: This class assumes that the highlight is on one line. It doesn't work for hightlights that span multiple lines.

Author:
Frank Worsley

Constructor Summary
AdvancedCALEditor.UnderlineHighlightPainter()
           
 
Method Summary
abstract  Color getLineColor()
          The color of the line to paint.
 void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdvancedCALEditor.UnderlineHighlightPainter

public AdvancedCALEditor.UnderlineHighlightPainter()
Method Detail

getLineColor

public abstract Color getLineColor()
The color of the line to paint.


paint

public void paint(Graphics g,
                  int p0,
                  int p1,
                  Shape bounds,
                  JTextComponent c)
Specified by:
paint in interface Highlighter.HighlightPainter
See Also:
Highlighter.HighlightPainter.paint(java.awt.Graphics, int, int, java.awt.Shape, javax.swing.text.JTextComponent)

Business Objects
Quark Platform Documentation
Version 1.7.1_0
Business Objects

Copyright © 2007 Business Objects. All rights reserved.