public interface IRenderer
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getBackColor()
Get back color
|
int |
getHeight()
Get height
|
int |
getTopOffset()
Get top offset
|
int |
layout(Document document,
javax.swing.text.JTextComponent textComponent,
int padWidth,
int padTopOffset,
int padHeight,
int lineHeight)
Layout
|
void |
paint(java.awt.Graphics graphics)
Paint
|
int layout(Document document, javax.swing.text.JTextComponent textComponent, int padWidth, int padTopOffset, int padHeight, int lineHeight) throws javax.swing.text.BadLocationException
document
- documenttextComponent
- text componentpadWidth
- annotation pad widthpadTopOffset
- annotation pad top offsetpadHeight
- annotation pad heightlineHeight
- text line heightjavax.swing.text.BadLocationException
- exceptionvoid paint(java.awt.Graphics graphics)
graphics
- graphics contextint getTopOffset()
int getHeight()
java.awt.Color getBackColor()