API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.text. Highlighter View Source
Author(s)
Timothy Prinzing
Since
Version
1.23 11/17/05
Serial
Hierarchy
 Highlighter
Subinterfaces
Description
public interface Highlighter
An interface for an object that allows one to mark up the background with colored areas.
See also:   
Methods
Hide/Show inherited methods
public Object addHighlight (int p0, int p1, HighlightPainter p) throws BadLocationException
  Adds a highlight to the view.
public void changeHighlight (Object tag, int p0, int p1) throws BadLocationException
  Changes the given highlight to span a different portion of the document.
public void deinstall (JTextComponent c)
  Called when the UI is being removed from the interface of a JTextComponent.
public Highlight getHighlights ()
  Fetches the current list of highlights.
public void install (JTextComponent c)
  Called when the UI is being installed into the interface of a JTextComponent.
public void paint (Graphics g)
  Renders the highlights.
public void removeAllHighlights ()
Removes all highlights this highlighter is responsible for.
public void removeHighlight (Object tag)
  Removes a highlight from the view.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar