Search in sources :

Example 16 with PlotChangeEvent

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));
}
Also used : PlotChangeEvent(org.jfree.chart.event.PlotChangeEvent)

Example 17 with PlotChangeEvent

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));
}
Also used : PlotChangeEvent(org.jfree.chart.event.PlotChangeEvent)

Example 18 with PlotChangeEvent

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));
}
Also used : PlotChangeEvent(org.jfree.chart.event.PlotChangeEvent)

Example 19 with PlotChangeEvent

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));
}
Also used : PlotChangeEvent(org.jfree.chart.event.PlotChangeEvent)

Example 20 with PlotChangeEvent

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);
    }
}
Also used : PlotChangeEvent(org.jfree.chart.event.PlotChangeEvent)

Aggregations

PlotChangeEvent (org.jfree.chart.event.PlotChangeEvent)21 ValueAxis (org.jfree.chart.axis.ValueAxis)1 RendererChangeListener (org.jfree.chart.event.RendererChangeListener)1