JSR-209 (Final Release)

javax.swing.text
Interface Highlighter.Highlight

Enclosing interface:
Highlighter

public static interface Highlighter.Highlight


Method Summary
 int getEndOffset()
          Gets the ending model offset for the highlight.
 Highlighter.HighlightPainter getPainter()
          Gets the painter for the highlighter.
 int getStartOffset()
          Gets the starting model offset for the highlight.
 

Method Detail

getStartOffset

public int getStartOffset()
Gets the starting model offset for the highlight.

Returns:
the starting offset >= 0

getEndOffset

public int getEndOffset()
Gets the ending model offset for the highlight.

Returns:
the ending offset >= 0

getPainter

public Highlighter.HighlightPainter getPainter()
Gets the painter for the highlighter.

Returns:
the painter

JSR-209 (Final Release)

Java and Java 2D are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
Copyright 1993 - 2006 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All Rights Reserved.
Use of this specification is subject to this license.