站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Interface javax.swing.text.Highlighter.HighlightPainter - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Interface
javax.swing.text.Highlighter.HighlightPainter

Packages that use Highlighter.HighlightPainter
javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. 
 

Uses of Highlighter.HighlightPainter in javax.swing.text
 

Classes in javax.swing.text that implement Highlighter.HighlightPainter
static class DefaultHighlighter.DefaultHighlightPainter
          Simple highlight painter that fills a highlighted area with a solid color.
static class LayeredHighlighter.LayerPainter
          Layered highlight renderer.
 

Methods in javax.swing.text that return Highlighter.HighlightPainter
 Highlighter.HighlightPainter Highlighter.Highlight.getPainter()
          Gets the painter for the highlighter.
protected  Highlighter.HighlightPainter DefaultCaret.getSelectionPainter()
          Gets the painter for the Highlighter.
 

Methods in javax.swing.text with parameters of type Highlighter.HighlightPainter
 Object Highlighter.addHighlight(int p0, int p1, Highlighter.HighlightPainter p)
          Adds a highlight to the view.
 Object DefaultHighlighter.addHighlight(int p0, int p1, Highlighter.HighlightPainter p)
          Adds a highlight to the view.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.