|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Highlight interface. Create implementations of this interface and
add them to the text area with TextAreaPainter.addCustomHighlight()
to paint custom highlights.
Method Summary | |
java.lang.String |
getToolTipText(java.awt.event.MouseEvent evt)
Returns the tool tip to display at the specified location. |
void |
init(JEditTextArea textArea,
TextAreaHighlight next)
Called after the highlight painter has been added. |
void |
paintHighlight(java.awt.Graphics gfx,
int line,
int y)
This should paint the highlight and delgate to the next highlight painter. |
Method Detail |
public void init(JEditTextArea textArea, TextAreaHighlight next)
textArea
- The text areanext
- The painter this one should delegate topublic void paintHighlight(java.awt.Graphics gfx, int line, int y)
gfx
- The graphics contextline
- The line numbery
- The y co-ordinate of the linepublic java.lang.String getToolTipText(java.awt.event.MouseEvent evt)
evt
- The mouse event
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |