javax.help
Interface TextHelpModel.Highlight
- 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.
int | getEndOffset() - Gets the ending model offset of the highlight.
|
int | getStartOffset() - Gets the starting model offset of the highlight.
|
getEndOffset
public int getEndOffset()
Gets the ending model offset of the highlight.
getStartOffset
public int getStartOffset()
Gets the starting model offset of the highlight.
- The starting offset >= 0.