Class RTextAreaHighlighter.LayeredHighlightInfoImpl

    • Field Detail

      • x

        public int x
      • y

        public int y
      • width

        public int width
      • height

        public int height
    • Constructor Detail

      • LayeredHighlightInfoImpl

        protected LayeredHighlightInfoImpl()
    • Method Detail

      • union

        void union​(java.awt.Shape bounds)
      • paintLayeredHighlights

        public void paintLayeredHighlights​(java.awt.Graphics g,
                                           int p0,
                                           int p1,
                                           java.awt.Shape viewBounds,
                                           javax.swing.text.JTextComponent editor,
                                           javax.swing.text.View view)
        Description copied from interface: RTextAreaHighlighter.LayeredHighlightInfo
        Restricts the region based on the receivers offsets and messages the painter to paint the region.
        Specified by:
        paintLayeredHighlights in interface RTextAreaHighlighter.LayeredHighlightInfo
        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.