/** * Sets the paint used for the error indicators (if {@code null}, * the item outline paint is used instead) and sends a * {@link RendererChangeEvent} to all registered listeners. * * @param paint the paint ({@code null} permitted). * * @see #getErrorIndicatorPaint() */ public void setErrorIndicatorPaint(Paint paint) { this.errorIndicatorPaint = paint; fireChangeEvent(); }
/** * Sets the paint used for the error indicators (if <code>null</code>, * the item outline paint is used instead) and sends a * {@link RendererChangeEvent} to all registered listeners. * * @param paint the paint (<code>null</code> permitted). * * @see #getErrorIndicatorPaint() */ public void setErrorIndicatorPaint(Paint paint) { this.errorIndicatorPaint = paint; fireChangeEvent(); }
/** * Sets the stroke used to draw the error indicators, and sends a * {@link RendererChangeEvent} to all registered listeners. If you set * this to {@code null}, the renderer will use the item outline * stroke. * * @param stroke the stroke ({@code null} permitted). * * @see #getErrorIndicatorStroke() * * @since 1.0.8 */ public void setErrorIndicatorStroke(Stroke stroke) { this.errorIndicatorStroke = stroke; fireChangeEvent(); }
/** * Sets the stroke used to draw the error indicators, and sends a * {@link RendererChangeEvent} to all registered listeners. If you set * this to <code>null</code>, the renderer will use the item outline * stroke. * * @param stroke the stroke (<code>null</code> permitted). * * @see #getErrorIndicatorStroke() * * @since 1.0.8 */ public void setErrorIndicatorStroke(Stroke stroke) { this.errorIndicatorStroke = stroke; fireChangeEvent(); }