Package org.openstreetmap.josm.actions
Class JosmAction.SelectionChangeAdapter
java.lang.Object
org.openstreetmap.josm.actions.JosmAction.SelectionChangeAdapter
- All Implemented Interfaces:
DataSelectionListener
- Enclosing class:
- JosmAction
Adapter for selection change events. Runs updateEnabledState() whenever the selection changed.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openstreetmap.josm.data.osm.DataSelectionListener
DataSelectionListener.AbstractSelectionEvent, DataSelectionListener.SelectionAddEvent, DataSelectionListener.SelectionChangeEvent, DataSelectionListener.SelectionRemoveEvent, DataSelectionListener.SelectionReplaceEvent, DataSelectionListener.SelectionToggleEvent -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SelectionChangeAdapter
protected SelectionChangeAdapter()
-
-
Method Details
-
selectionChanged
Description copied from interface:DataSelectionListenerCalled 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.- Specified by:
selectionChangedin interfaceDataSelectionListener- Parameters:
event- The selection change event.- See Also:
-
toString
-