javax.help

Interface TextHelpModel.Highlight

Known Implementing Classes:
DefaultHelpModel.DefaultHighlight

public static interface TextHelpModel.Highlight

This is very similar to javax.swing.text.Highlighter.Highlight except that it does not use the notion of HighlightPainter.

Method Summary

int
getEndOffset()
Gets the ending model offset of the highlight.
int
getStartOffset()
Gets the starting model offset of the highlight.

Method Details

getEndOffset

public int getEndOffset()
Gets the ending model offset of the highlight.
Returns:
The ending offset >= 0.

getStartOffset

public int getStartOffset()
Gets the starting model offset of the highlight.
Returns:
The starting offset >= 0.