Package org.openstreetmap.josm.gui.layer
Interface OsmDataLayer.LayerStateChangeListener
-
- Enclosing class:
- OsmDataLayer
- 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 static interface OsmDataLayer.LayerStateChangeListener
Listener called when a state of this layer has changed.- Since:
- 10600 (functional interface)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
uploadDiscouragedChanged(OsmDataLayer layer, boolean newValue)
Notifies that the "upload discouraged" (upload=no) state has changed.
-
-
-
Method Detail
-
uploadDiscouragedChanged
void uploadDiscouragedChanged(OsmDataLayer layer, boolean newValue)
Notifies that the "upload discouraged" (upload=no) state has changed.- Parameters:
layer
- The layer that has been modifiednewValue
- The new value of the state
-
-