/** * Sets the paint that will be used to draw bars having positive values. * * @param paint the paint (<code>null</code> not permitted). */ public void setPositiveBarPaint(Paint paint) { if (paint == null) { throw new IllegalArgumentException("Null 'paint' argument"); } this.positiveBarPaint = paint; fireChangeEvent(); }
/** * Sets the paint that will be used to draw the first bar and sends a * {@link RendererChangeEvent} to all registered listeners. * * @param paint the paint (<code>null</code> not permitted). */ public void setFirstBarPaint(Paint paint) { if (paint == null) { throw new IllegalArgumentException("Null 'paint' argument"); } this.firstBarPaint = paint; fireChangeEvent(); }
/** * Sets the paint that will be used to draw the last bar and sends a * {@link RendererChangeEvent} to all registered listeners. * * @param paint the paint (<code>null</code> not permitted). */ public void setLastBarPaint(Paint paint) { if (paint == null) { throw new IllegalArgumentException("Null 'paint' argument"); } this.lastBarPaint = paint; fireChangeEvent(); }
/** * Sets the paint that will be used to draw bars having negative values, * and sends a {@link RendererChangeEvent} to all registered listeners. * * @param paint the paint (<code>null</code> not permitted). */ public void setNegativeBarPaint(Paint paint) { if (paint == null) { throw new IllegalArgumentException("Null 'paint' argument"); } this.negativeBarPaint = paint; fireChangeEvent(); }
/** * Sets the paint that will be used to draw bars having negative values, * and sends a {@link RendererChangeEvent} to all registered listeners. * * @param paint the paint ({@code null} not permitted). */ public void setNegativeBarPaint(Paint paint) { Args.nullNotPermitted(paint, "paint"); this.negativeBarPaint = paint; fireChangeEvent(); }
/** * Sets the paint that will be used to draw the last bar and sends a * {@link RendererChangeEvent} to all registered listeners. * * @param paint the paint ({@code null} not permitted). */ public void setLastBarPaint(Paint paint) { Args.nullNotPermitted(paint, "paint"); this.lastBarPaint = paint; fireChangeEvent(); }
/** * Sets the paint that will be used to draw the first bar and sends a * {@link RendererChangeEvent} to all registered listeners. * * @param paint the paint ({@code null} not permitted). */ public void setFirstBarPaint(Paint paint) { Args.nullNotPermitted(paint, "paint"); this.firstBarPaint = paint; fireChangeEvent(); }
/** * Sets the paint that will be used to draw bars having positive values. * * @param paint the paint ({@code null} not permitted). */ public void setPositiveBarPaint(Paint paint) { Args.nullNotPermitted(paint, "paint"); this.positiveBarPaint = paint; fireChangeEvent(); }