362363364365366367368
public void setTickSize(double size) { if (size <= 0) { throw new IllegalArgumentException("Requires 'size' > 0."); } this.tickSize = size; notifyListeners(new PlotChangeEvent(this)); }
390391392393394395396
public void setTickPaint(Paint paint) { if (paint == null) { throw new IllegalArgumentException("Null 'paint' argument."); } this.tickPaint = paint; notifyListeners(new PlotChangeEvent(this)); }
414415416417418419420
* * @see #getUnits() */ public void setUnits(String units) { this.units = units; notifyListeners(new PlotChangeEvent(this)); }
441442443444445446447
public void setNeedlePaint(Paint paint) { if (paint == null) { throw new IllegalArgumentException("Null 'paint' argument."); } this.needlePaint = paint; notifyListeners(new PlotChangeEvent(this)); }
466467468469470471472473
* @see #getTickLabelsVisible() */ public void setTickLabelsVisible(boolean visible) { if (this.tickLabelsVisible != visible) { this.tickLabelsVisible = visible; notifyListeners(new PlotChangeEvent(this)); } }
495496497498499500501502
if (font == null) { throw new IllegalArgumentException("Null 'font' argument."); } if (!this.tickLabelFont.equals(font)) { this.tickLabelFont = font; notifyListeners(new PlotChangeEvent(this)); } }
524525526527528529530531
if (paint == null) { throw new IllegalArgumentException("Null 'paint' argument."); } if (!this.tickLabelPaint.equals(paint)) { this.tickLabelPaint = paint; notifyListeners(new PlotChangeEvent(this)); } }
552553554555556557558
public void setTickLabelFormat(NumberFormat format) { if (format == null) { throw new IllegalArgumentException("Null 'format' argument."); } this.tickLabelFormat = format; notifyListeners(new PlotChangeEvent(this)); }
579580581582583584585
public void setValueFont(Font font) { if (font == null) { throw new IllegalArgumentException("Null 'font' argument."); } this.valueFont = font; notifyListeners(new PlotChangeEvent(this)); }
606607608609610611612
public void setValuePaint(Paint paint) { if (paint == null) { throw new IllegalArgumentException("Null 'paint' argument."); } this.valuePaint = paint; notifyListeners(new PlotChangeEvent(this)); }