Package org.jfree.chart.event
Class PlotChangeEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.jfree.chart.event.ChartChangeEvent
-
- org.jfree.chart.event.PlotChangeEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class PlotChangeEvent extends ChartChangeEvent
An event that can be forwarded to anyPlotChangeListener
to signal a change to a plot.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PlotChangeEvent(Plot plot)
Creates a new PlotChangeEvent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Plot
getPlot()
Returns the plot that generated the event (set in the constructor).-
Methods inherited from class org.jfree.chart.event.ChartChangeEvent
getChart, getType, setChart, setType
-
-
-
-
Field Detail
-
plot
private Plot plot
The plot that generated the event.
-
-
Constructor Detail
-
PlotChangeEvent
public PlotChangeEvent(Plot plot)
Creates a new PlotChangeEvent.- Parameters:
plot
- the plot that generated the event (null
not permitted).
-
-
Method Detail
-
getPlot
public Plot getPlot()
Returns the plot that generated the event (set in the constructor).- Returns:
- The plot that generated the event.
-
-