org.jfree.data.general
public class DatasetChangeEvent extends EventObject
Constructor Summary | |
---|---|
DatasetChangeEvent(Object source, Dataset dataset)
Constructs a new event. |
Method Summary | |
---|---|
Dataset | getDataset()
Returns the dataset that generated the event. |
null
(in this case the source will be the
Plot class).
Parameters: source the source of the event. dataset the dataset that generated the event (null
permitted).
null
since adding a null
dataset to a
plot will generated a change event.
Returns: The dataset (possibly null
).