public class FilterChangedEvent extends AbstractDatasetChangedEvent
AbstractDatasetChangedEvent.DatasetEventTypedataSet| Constructor and Description |
|---|
FilterChangedEvent(DataSet dataSet)
Constructs a new
FilterChangedEvent. |
| Modifier and Type | Method and Description |
|---|---|
void |
fire(DataSetListener listener)
Calls the appropriate method of the listener for this event.
|
java.util.Collection<? extends OsmPrimitive> |
getPrimitives()
Returns list of primitives modified by this event.
|
AbstractDatasetChangedEvent.DatasetEventType |
getType()
Returns the type of dataset changed event.
|
getDataset, toStringpublic FilterChangedEvent(DataSet dataSet)
FilterChangedEvent.dataSet - the dataset from which the event comes frompublic void fire(DataSetListener listener)
AbstractDatasetChangedEventfire in class AbstractDatasetChangedEventlistener - dataset listener to notify about this eventpublic java.util.Collection<? extends OsmPrimitive> getPrimitives()
AbstractDatasetChangedEventDataChangedEvent. It returns all primitives in the dataset
when this method is called (live list), not list of primitives when
the event was createdgetPrimitives in class AbstractDatasetChangedEventpublic AbstractDatasetChangedEvent.DatasetEventType getType()
AbstractDatasetChangedEventgetType in class AbstractDatasetChangedEvent