|
Oxygen XML Editor 12.2 Author API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AuthorHighlighter
The highlighter which will be available to users to add, remove and check highlights
| Method Summary | |
|---|---|
Highlight |
addHighlight(int startOffset,
int endOffset,
HighlightPainter painter,
java.lang.Object additionalData)
Adds a highlight to the view. |
Highlight[] |
getHighlights()
Fetches the current list of highlights. |
void |
removeAllHighlights()
Removes all highlights this highlighter is responsible for. |
void |
removeHighlight(Highlight highlight)
Removes a highlight from the view. |
| Method Detail |
|---|
Highlight addHighlight(int startOffset,
int endOffset,
HighlightPainter painter,
java.lang.Object additionalData)
throws javax.swing.text.BadLocationException
startOffset - the beginning of the range >= 0endOffset - the inclusive end of the range >= startOffsetpainter - the painter to use for the actual highlightingadditionalData - The additional data which can be stored in the highlight. May be null.
javax.swing.text.BadLocationException - for an invalid range specificationvoid removeHighlight(Highlight highlight)
highlight - which highlight to removevoid removeAllHighlights()
Highlight[] getHighlights()
|
Oxygen XML Editor 12.2 Author API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||