public class DatasetChangeEvent extends EventObject
source
Constructor and Description |
---|
DatasetChangeEvent(Object source,
Dataset dataset)
Constructs a new event.
|
Modifier and Type | Method and Description |
---|---|
Dataset |
getDataset()
Returns the dataset that generated the event.
|
getSource, toString
public DatasetChangeEvent(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
).Copyright © 2001–2017 JFree.org. All rights reserved.