@API(type=NOT_EXTENDABLE,
     src=PUBLIC)
public interface AuthorHighlighter
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
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()
© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.