public static interface

Highlighter.Highlight

javax.swing.text.Highlighter.Highlight

Summary

Public Methods
abstract int getEndOffset()
Gets the ending model offset for the highlight.
abstract Highlighter.HighlightPainter getPainter()
Gets the painter for the highlighter.
abstract int getStartOffset()
Gets the starting model offset for the highlight.

Public Methods

public abstract int getEndOffset ()

Gets the ending model offset for the highlight.

Returns
  • the ending offset >= 0

public abstract Highlighter.HighlightPainter getPainter ()

Gets the painter for the highlighter.

Returns
  • the painter

public abstract int getStartOffset ()

Gets the starting model offset for the highlight.

Returns
  • the starting offset >= 0