org.jfree.chart.event

Class PlotChangeEvent


public class PlotChangeEvent
extends ChartChangeEvent

An event that can be forwarded to any PlotChangeListener to signal a change to a plot.

Constructor Summary

PlotChangeEvent(Plot plot)
Creates a new PlotChangeEvent.

Method Summary

Plot
getPlot()
Returns the plot that generated the event.

Methods inherited from class org.jfree.chart.event.ChartChangeEvent

getChart, getType, setChart, setType

Constructor Details

PlotChangeEvent

public PlotChangeEvent(Plot plot)
Creates a new PlotChangeEvent.
Parameters:
plot - the plot that generated the event.

Method Details

getPlot

public Plot getPlot()
Returns the plot that generated the event.
Returns:
The plot that generated the event.