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:
Serializable
public class PlotChangeEvent extends ChartChangeEvent
An event that can be forwarded to any
PlotChangeListener to signal a change to a
plot.- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class org.jfree.chart.event.ChartChangeEvent
GENERAL, NEW_DATASET, UPDATED_DATASET -
Constructor Summary
Constructors Constructor Description PlotChangeEvent(Plot plot)Creates a new PlotChangeEvent. -
Method Summary
Methods inherited from class org.jfree.chart.event.ChartChangeEvent
getChart, getType, setChart, setTypeMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
PlotChangeEvent
Creates a new PlotChangeEvent.- Parameters:
plot- the plot that generated the event.
-
-
Method Details
-
getPlot
Returns the plot that generated the event.- Returns:
- the plot that generated the event.
-