API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf.basic. BasicTextUI.BasicHighlighter View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      LayeredHighlighter
          DefaultHighlighter
              BasicTextUI.BasicHighlighter
Implements
 UIResource
Subclasses
Description
publicstatic class BasicTextUI.BasicHighlighter
See also:   
Constructors
public BasicTextUI.BasicHighlighter ()
Methods
Hide/Show inherited methods
public Object addHighlight (int p0, int p1, HighlightPainter p) throws BadLocationException [Inherited From DefaultHighlighter]
  Adds a highlight to the view.
public void changeHighlight (Object tag, int p0, int p1) throws BadLocationException [Inherited From DefaultHighlighter]
  Changes a highlight.
public void deinstall (JTextComponent c) [Inherited From DefaultHighlighter]
  Called when the UI is being removed from the interface of a JTextComponent.
public boolean getDrawsLayeredHighlights () [Inherited From DefaultHighlighter]
public Highlight getHighlights () [Inherited From DefaultHighlighter]
  Makes a copy of the highlights.
public void install (JTextComponent c) [Inherited From DefaultHighlighter]
  Called when the UI is being installed into the interface of a JTextComponent.
public void paint (Graphics g) [Inherited From DefaultHighlighter]
  Renders the highlights.
public void paintLayeredHighlights (Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view) [Inherited From DefaultHighlighter] [Specified in LayeredHighlighter]
  When leaf Views (such as LabelView) are rendering they should call into this method.
public void removeAllHighlights () [Inherited From DefaultHighlighter]
Removes all highlights.
public void removeHighlight (Object tag) [Inherited From DefaultHighlighter]
  Removes a highlight from the view.
public void setDrawsLayeredHighlights (boolean newValue) [Inherited From DefaultHighlighter]
  If true, highlights are drawn as the Views draw the text.
Fields
Hide/Show inherited fields
publicfinalstatic LayerPainter DefaultPainter [Inherited From DefaultHighlighter]
  Default implementation of LayeredHighlighter.LayerPainter that can be used for painting highlights.
Nested Classes
  DefaultHighlighter.DefaultHighlightPainter
Simple highlight painter that fills a highlighted area with a solid color.
  LayeredHighlighter.LayerPainter
Layered highlight renderer.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar