List of usage examples for org.jfree.chart.plot.dial DialLayerChangeEvent DialLayerChangeEvent
public DialLayerChangeEvent(DialLayer layer)
From source file:net.sf.jasperreports.chartthemes.spring.ScaledDialPointer.java
/** * Sets the fill paint and sends a {@link DialLayerChangeEvent} to all * registered listeners./*from w ww. j ava 2 s.c o m*/ * * @param paint the paint (<code>null</code> not permitted). * * @see #getFillPaint() * * @since 1.0.8 */ @Override public void setFillPaint(Paint paint) { if (paint == null) { throw new IllegalArgumentException("Null 'paint' argument."); } this.fillPaint = paint; notifyListeners(new DialLayerChangeEvent(this)); }
From source file:net.sf.fspdfs.chartthemes.spring.ScaledDialPointer.java
/** * Sets the fill paint and sends a {@link DialLayerChangeEvent} to all * registered listeners./*from w w w. j ava 2 s . c o m*/ * * @param paint the paint (<code>null</code> not permitted). * * @see #getFillPaint() * * @since 1.0.8 */ public void setFillPaint(Paint paint) { if (paint == null) { throw new IllegalArgumentException("Null 'paint' argument."); } this.fillPaint = paint; notifyListeners(new DialLayerChangeEvent(this)); }