javax.swing.text
Class DefaultHighlighter.HighlightInfo
java.lang.Object
javax.swing.text.DefaultHighlighter.HighlightInfo
- All Implemented Interfaces:
- Highlighter.Highlight
- Direct Known Subclasses:
- DefaultHighlighter.LayeredHighlightInfo
- Enclosing class:
- DefaultHighlighter
- class DefaultHighlighter.HighlightInfo
- extends Object
- implements Highlighter.Highlight
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
p0
Position p0
p1
Position p1
painter
Highlighter.HighlightPainter painter
DefaultHighlighter.HighlightInfo
DefaultHighlighter.HighlightInfo()
getStartOffset
public int getStartOffset()
- Description copied from interface:
Highlighter.Highlight
- Gets the starting model offset for the highlight.
- Specified by:
getStartOffset
in interface Highlighter.Highlight
- Returns:
- the starting offset >= 0
getEndOffset
public int getEndOffset()
- Description copied from interface:
Highlighter.Highlight
- Gets the ending model offset for the highlight.
- Specified by:
getEndOffset
in interface Highlighter.Highlight
- Returns:
- the ending offset >= 0
getPainter
public Highlighter.HighlightPainter getPainter()
- Description copied from interface:
Highlighter.Highlight
- Gets the painter for the highlighter.
- Specified by:
getPainter
in interface Highlighter.Highlight
- Returns:
- the painter