public class DatasetChangeEvent extends java.util.EventObject
Constructor and Description |
---|
DatasetChangeEvent(java.lang.Object source,
Dataset dataset)
Constructs a new event.
|
Modifier and Type | Method and Description |
---|---|
Dataset |
getDataset()
Returns the dataset that generated the event.
|
public DatasetChangeEvent(java.lang.Object source, Dataset dataset)
Plot
class. The dataset can be
null
(in this case the source will be the
Plot
class).source
- the source of the event.dataset
- the dataset that generated the event (null
permitted).public Dataset getDataset()
null
since adding a null
dataset to a
plot will generated a change event.null
).