Interface AttributeTextPanePainter

All Known Implementing Classes:
AbstractAttributeTextPanePainter, InfoBoxPainter, WavyUnderlinePainter

public interface AttributeTextPanePainter
This interface is used to paint custom attributes in the AttributeTextPane, for use specifically with AttributeTextPaneLabelView.
  • Method Details

    • paint

      void paint(AttributeTextPaneLabelView labelView, AttributeSet attrs, Graphics2D g2, Shape allocated)
      Parameters:
      labelView - The label view that is being painted
      attrs - The attributes of the current view
      g2 - The graphics context to paint on
      allocated - The allocated shape for the view, this is the area for painting.