public abstract class AbstractDatasetChangedEvent extends java.lang.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 java.util.Collection<? extends OsmPrimitive> |
getPrimitives()
Returns list of primitives modified by this event.
|
abstract AbstractDatasetChangedEvent.DatasetEventType |
getType() |
java.lang.String |
toString() |
protected AbstractDatasetChangedEvent(DataSet dataSet)
public abstract void fire(DataSetListener listener)
public abstract java.util.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()
public java.lang.String toString()
toString
in class java.lang.Object