/** * Sets the bar painter. * * @param painter the painter (<code>null</code> not permitted). * * @see #getBarPainter() */ public void setBarPainter(BarPainter painter) { if (painter == null) { throw new IllegalArgumentException("Null 'painter' argument."); } this.barPainter = painter; }
/** * Returns the bar painter. * * @return The bar painter (never <code>null</code>). * * @see #setBarPainter(BarPainter) */ public BarPainter getBarPainter() { return this.barPainter; }
/** * Sets the bar painter. * * @param painter the painter (<code>null</code> not permitted). * * @see #getBarPainter() */ public void setBarPainter(BarPainter painter) { ParamChecks.nullNotPermitted(painter, "painter"); this.barPainter = painter; }
/** * Returns the bar painter. * * @return The bar painter (never {@code null}). * * @see #setBarPainter(BarPainter) */ public BarPainter getBarPainter() { return this.barPainter; }
/** * Sets the bar painter. * * @param painter the painter ({@code null} not permitted). * * @see #getBarPainter() */ public void setBarPainter(BarPainter painter) { Args.nullNotPermitted(painter, "painter"); this.barPainter = painter; }