Package javax.help
Class DefaultHelpModel.DefaultHighlight
- java.lang.Object
-
- javax.help.DefaultHelpModel.DefaultHighlight
-
- All Implemented Interfaces:
TextHelpModel.Highlight
- Enclosing class:
- DefaultHelpModel
public static class DefaultHelpModel.DefaultHighlight extends java.lang.Object implements TextHelpModel.Highlight
A default implementation of TextHelpModel.Highlight
-
-
Constructor Summary
Constructors Constructor Description DefaultHighlight(int start, int end)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getEndOffset()
End offsetint
getStartOffset()
Start offset
-
-
-
Method Detail
-
getStartOffset
public int getStartOffset()
Start offset- Specified by:
getStartOffset
in interfaceTextHelpModel.Highlight
- Returns:
- The starting offset >= 0.
-
getEndOffset
public int getEndOffset()
End offset- Specified by:
getEndOffset
in interfaceTextHelpModel.Highlight
- Returns:
- The ending offset >= 0.
-
-