public static interface CodeEditorPainter.Highlight
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getToolTipText(java.awt.event.MouseEvent evt)
Returns the tool tip to display at the specified location.
|
void |
init(JEditor editor,
CodeEditorPainter.Highlight 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.
|
void init(JEditor editor, CodeEditorPainter.Highlight next)
editor
- The code editornext
- the text to highlightvoid paintHighlight(java.awt.Graphics gfx, int line, int y)
gfx
- The graphics contextline
- The line numbery
- The y co-ordinate of the linejava.lang.String getToolTipText(java.awt.event.MouseEvent evt)
evt
- The mouse eventCopyright © 2016, 2017, 2018, 2019, 2023 Herve Girod. All Rights Reserved. Documentation and source under the MIT licence