use of org.jfree.chart.event.PlotChangeEvent in project processdash by dtuma.
the class DiscPlot method setLabelGenerator.
/**
* @param labelGenerator The labelGenerator to set.
*/
public void setLabelGenerator(PieSectionLabelGenerator labelGenerator) {
this.labelGenerator = labelGenerator;
notifyListeners(new PlotChangeEvent(this));
}
use of org.jfree.chart.event.PlotChangeEvent in project processdash by dtuma.
the class DiscPlot method setDiscRenderer.
/**
* @param discRenderer The discRenderer to set.
*/
public void setDiscRenderer(DiscItemRenderer discRenderer) {
if (discRenderer == null)
throw new IllegalArgumentException("Disc renderer cannot be null");
this.discRenderer = discRenderer;
notifyListeners(new PlotChangeEvent(this));
}
use of org.jfree.chart.event.PlotChangeEvent in project processdash by dtuma.
the class DiscPlot method setToolTipGenerator.
/**
* @param toolTipGenerator The toolTipGenerator to set.
*/
public void setToolTipGenerator(PieToolTipGenerator toolTipGenerator) {
this.toolTipGenerator = toolTipGenerator;
notifyListeners(new PlotChangeEvent(this));
}
use of org.jfree.chart.event.PlotChangeEvent in project processdash by dtuma.
the class DiscPlot method setUrlGenerator.
/**
* @param urlGenerator The urlGenerator to set.
*/
public void setUrlGenerator(PieURLGenerator urlGenerator) {
this.urlGenerator = urlGenerator;
notifyListeners(new PlotChangeEvent(this));
}
use of org.jfree.chart.event.PlotChangeEvent in project SIMVA-SoS by SESoS.
the class XYPlot method annotationChanged.
/**
* Receives notification of a change to an {@link Annotation} added to
* this plot.
*
* @param event information about the event (not used here).
*
* @since 1.0.14
*/
@Override
public void annotationChanged(AnnotationChangeEvent event) {
if (getParent() != null) {
getParent().annotationChanged(event);
} else {
PlotChangeEvent e = new PlotChangeEvent(this);
notifyListeners(e);
}
}
Aggregations