public class WayNodesChangedEvent extends AbstractDatasetChangedEvent
AbstractDatasetChangedEvent.DatasetEventType| Modifier and Type | Field and Description |
|---|---|
private Way |
way |
dataSet| Constructor and Description |
|---|
WayNodesChangedEvent(DataSet dataSet,
Way way) |
| Modifier and Type | Method and Description |
|---|---|
void |
fire(DataSetListener listener) |
Way |
getChangedWay() |
java.util.List<? extends OsmPrimitive> |
getPrimitives()
Returns list of primitives modified by this event.
|
AbstractDatasetChangedEvent.DatasetEventType |
getType() |
getDataset, toStringpublic WayNodesChangedEvent(DataSet dataSet, Way way)
public void fire(DataSetListener listener)
fire in class AbstractDatasetChangedEventpublic Way getChangedWay()
public java.util.List<? 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()
getType in class AbstractDatasetChangedEvent