Package org.openstreetmap.josm.data.osm
Interface DataSelectionListener
-
- All Known Implementing Classes:
AddSelectionToRelations
,AdvancedPreference.UnclearableOsmDataLayer
,ChangesetInSelectionListModel
,ConflictDialog
,CorrelationSupportLayer
,DrawAction
,ImproveWayAccuracyAction
,JosmAction.SelectionChangeAdapter
,MapStatus
,MemberTableModel
,MultipolygonCache
,OsmDataLayer
,PropertiesDialog
,SelectionEventManager
,SelectionListDialog.SelectionListModel
,SelectionListDialog.ShowHistoryAction
,SelectionTableModel
,SimplifyWayAction.SimplifyWayDataSelectionListener
,TaggingPresetSelector
,UserListDialog
,ValidatorDialog
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface DataSelectionListener
This is a listener that listens to selection change events in the data set.- Since:
- 12048
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
DataSelectionListener.AbstractSelectionEvent
The base class for selection eventsstatic class
DataSelectionListener.SelectionAddEvent
Primitives are added to the selectionstatic interface
DataSelectionListener.SelectionChangeEvent
The event that is fired when the selection changed.static class
DataSelectionListener.SelectionRemoveEvent
Primitives are removed from the selectionstatic class
DataSelectionListener.SelectionReplaceEvent
The selection is replaced by a new selectionstatic class
DataSelectionListener.SelectionToggleEvent
Toggle the selected state of a primitive
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
selectionChanged(DataSelectionListener.SelectionChangeEvent event)
Called whenever the selection is changed.
-
-
-
Method Detail
-
selectionChanged
void selectionChanged(DataSelectionListener.SelectionChangeEvent event)
Called whenever the selection is changed. You get notified about the new selection, the elements that were added and removed and the layer that triggered the event.- Parameters:
event
- The selection change event.- See Also:
DataSelectionListener.SelectionChangeEvent
-
-