public abstract class AbstractDatasetChangedEvent extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AbstractDatasetChangedEvent.DatasetEventType |
Modifier | Constructor and Description |
---|---|
protected |
AbstractDatasetChangedEvent(DataSet dataSet) |
Modifier and Type | Method and Description |
---|---|
abstract void |
fire(DataSetListener listener) |
DataSet |
getDataset() |
abstract Collection<? extends OsmPrimitive> |
getPrimitives()
Returns list of primitives modified by this event.
|
abstract AbstractDatasetChangedEvent.DatasetEventType |
getType() |
String |
toString() |
protected AbstractDatasetChangedEvent(DataSet dataSet)
public abstract void fire(DataSetListener listener)
public abstract Collection<? extends OsmPrimitive> getPrimitives()
DataChangedEvent
. It returns all primitives in the dataset
when this method is called (live list), not list of primitives when
the event was createdpublic DataSet getDataset()
public abstract AbstractDatasetChangedEvent.DatasetEventType getType()