Interface RTextAreaHighlighter.LayeredHighlightInfo

All Superinterfaces:
Highlighter.Highlight, RTextAreaHighlighter.HighlightInfo
All Known Implementing Classes:
RSyntaxTextAreaHighlighter.SyntaxLayeredHighlightInfoImpl, RTextAreaHighlighter.LayeredHighlightInfoImpl
Enclosing class:
RTextAreaHighlighter

public static interface RTextAreaHighlighter.LayeredHighlightInfo extends RTextAreaHighlighter.HighlightInfo
Information about a layered highlight being painted by this highlighter.
  • Method Details

    • paintLayeredHighlights

      void paintLayeredHighlights(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)
      Restricts the region based on the receivers offsets and messages the painter to paint the region.
      Parameters:
      g - The graphics context to use.
      p0 - The start offset.
      p1 - The end offset.
      viewBounds - T?he view bounds.
      editor - The text component that contains the highlights.
      view - The view being rendered.