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 Summary
Modifier and TypeMethodDescriptionvoid
paint
(AttributeTextPaneLabelView labelView, AttributeSet attrs, Graphics2D g2, Shape allocated)
-
Method Details
-
paint
void paint(AttributeTextPaneLabelView labelView, AttributeSet attrs, Graphics2D g2, Shape allocated) - Parameters:
labelView
- The label view that is being paintedattrs
- The attributes of the current viewg2
- The graphics context to paint onallocated
- The allocated shape for the view, this is the area for painting.
-