BasicTextUI.BasicHighlighter (Java SE 17 & JDK 17)
Description: declaration: module: java.desktop, package: javax.swing.plaf.basic, class: BasicTextUI, class: BasicHighlighter
Keywords: javax.swing.plaf.basic.BasicTextUI.BasicHighlighter class

Module java.desktop
Package javax.swing.plaf.basic

# Class BasicTextUI.BasicHighlighter

java.lang.Object
javax.swing.text.LayeredHighlighter
javax.swing.text.DefaultHighlighter
javax.swing.plaf.basic.BasicTextUI.BasicHighlighter

All Implemented Interfaces:
  `UIResource`, `Highlighter`

Enclosing class:
  BasicTextUI

public static class BasicTextUI.BasicHighlighter extends DefaultHighlighter implements UIResource
Default implementation of the interface `Highlighter`.

- ## Nested Class Summary

  ## Nested classes/interfaces declared in class javax.swing.text.DefaultHighlighter

  `DefaultHighlighter.DefaultHighlightPainter`

  ## Nested classes/interfaces declared in class javax.swing.text.LayeredHighlighter

  `LayeredHighlighter.LayerPainter`

  ## Nested classes/interfaces declared in interface javax.swing.text.Highlighter

  `Highlighter.Highlight, Highlighter.HighlightPainter`

- ## Field Summary

  ### Fields declared in class javax.swing.text.DefaultHighlighter

  `DefaultPainter`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `BasicHighlighter()`
  Constructs a `BasicHighlighter`.

- ## Method Summary

  ### Methods declared in class javax.swing.text.DefaultHighlighter

  `addHighlight, changeHighlight, deinstall, getDrawsLayeredHighlights, getHighlights, install, paint, paintLayeredHighlights, removeAllHighlights, removeHighlight, setDrawsLayeredHighlights`

  ### Methods declared in class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### BasicHighlighter

    public BasicHighlighter()
    Constructs a `BasicHighlighter`.