Package org.openstreetmap.josm.data.osm.event
Provides the classes for OSM dataset events.
-
Interface Summary Interface Description DataSetListener A listener listening for all DataSet changes.DataSetListenerAdapter.Listener Single method dataset change event listener.IDataSelectionEventSource<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>,D extends OsmData<O,N,W,R>> This interface indicates that the class can fireIDataSelectionListener
.IDataSelectionListener<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>,D extends OsmData<O,N,W,R>> This interface is the same asDataSelectionListener
, except it isn'tOsmPrimitive
specific.IDataSelectionListener.SelectionChangeEvent<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>,D extends OsmData<O,N,W,R>> The event that is fired when the selection changed.SelectionEventManager.ListenerInfo -
Class Summary Class Description AbstractDatasetChangedEvent Base class of all dataset change events.ChangesetIdChangedEvent An event that is triggered when the changeset id has changed for a list of primitives.DataChangedEvent A combined data change event.DatasetEventManager This class allows to add DatasetListener to currently active dataset.DatasetEventManager.ListenerInfo DataSetListenerAdapter Classes that do not wish to implement all methods of DataSetListener may use this class.DataSourceAddedEvent There is a new data sourceDataSourceRemovedEvent A data source was removedFilterChangedEvent Represents a change of primitive filter flags.IDataSelectionListener.AbstractSelectionEvent<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>,D extends OsmData<O,N,W,R>> The base class for selection eventsIDataSelectionListener.SelectionAddEvent<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>,D extends OsmData<O,N,W,R>> Primitives are added to the selectionIDataSelectionListener.SelectionRemoveEvent<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>,D extends OsmData<O,N,W,R>> Primitives are removed from the selectionIDataSelectionListener.SelectionReplaceEvent<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>,D extends OsmData<O,N,W,R>> The selection is replaced by a new selectionIDataSelectionListener.SelectionToggleEvent<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>,D extends OsmData<O,N,W,R>> Toggle the selected state of a primitiveNodeMovedEvent An event that is triggered on a node move (lat/lon change)PrimitiveFlagsChangedEvent Represents a change inAbstractPrimitive.flags
unless covered by a more specific eventPrimitivesAddedEvent An event that is triggered if primitives have been added to the datasetPrimitivesRemovedEvent An event that is triggered when primitives were removed from the datasetRelationMembersChangedEvent An event that is triggered if the members of a single relation have changedSelectionEventManager Similar likeDatasetEventManager
, just for selection events.SelectionEventManager.DataListenerInfo TagsChangedEvent An event that is triggered if the tags of a single primitive have changedWayNodesChangedEvent An event that is triggered when the nodes of a way have been changed (nodes added, removed or the order was changed) -
Enum Summary Enum Description AbstractDatasetChangedEvent.DatasetEventType Type of dataset changed event, returned byAbstractDatasetChangedEvent.getType()
.DatasetEventManager.FireMode Event firing mode regarding Event Dispatch Thread.