public interface TextAreaPainter.Highlight
Highlight interface.
Type Params | Return Type | Name and description |
---|---|---|
|
public java.lang.String |
getToolTipText(java.awt.event.MouseEvent evt) Returns the tool tip to display at the specified location. |
|
public void |
init(JEditTextArea textArea, TextAreaPainter.Highlight next) Called after the highlight painter has been added. |
|
public void |
paintHighlight(java.awt.Graphics gfx, int line, int y) This should paint the highlight and delgate to the next highlight painter. |
Returns the tool tip to display at the specified location. If this highlighter doesn't know what to display, it should delegate to the next highlight painter.
evt
- The mouse eventCalled after the highlight painter has been added.
textArea
- The text areanext
- The painter this one should delegate toThis should paint the highlight and delgate to the next highlight painter.
gfx
- The graphics contextline
- The line numbery
- The y co-ordinate of the line