Uses of Interface
org.openstreetmap.josm.gui.layer.LayerPositionStrategy
-
Packages that use LayerPositionStrategy Package Description org.openstreetmap.josm.gui.layer Provides classes for handling the different kinds of map layers. -
-
Uses of LayerPositionStrategy in org.openstreetmap.josm.gui.layer
Fields in org.openstreetmap.josm.gui.layer declared as LayerPositionStrategy Modifier and Type Field Description static LayerPositionStrategy
LayerPositionStrategy. AFTER_LAST_DATA_LAYER
A GPX layer is added below the lowest data layer.static LayerPositionStrategy
LayerPositionStrategy. AFTER_LAST_VALIDATION_LAYER
A normal layer is added after all validation layers.static LayerPositionStrategy
LayerPositionStrategy. BEFORE_FIRST_BACKGROUND_LAYER
The default for background layers: They are added before the first background layer in the list.static LayerPositionStrategy
LayerPositionStrategy. IN_FRONT
always inserts at the front of the stack.Methods in org.openstreetmap.josm.gui.layer that return LayerPositionStrategy Modifier and Type Method Description static LayerPositionStrategy
LayerPositionStrategy. afterLast(java.util.function.Predicate<Layer> what)
Creates a strategy that places the layer after the last layer of a given kind or at the beginning of the list if no such layer exists.LayerPositionStrategy
GpxLayer. getDefaultLayerPosition()
LayerPositionStrategy
Layer. getDefaultLayerPosition()
Gets the strategy that specifies where this layer should be inserted in a layer list.LayerPositionStrategy
ValidatorLayer. getDefaultLayerPosition()
static LayerPositionStrategy
LayerPositionStrategy. inFrontOf(Layer other)
Gets aLayerPositionStrategy
that inserts this layer in front of a given layerstatic LayerPositionStrategy
LayerPositionStrategy. inFrontOfFirst(java.util.function.Predicate<Layer> what)
Gets aLayerPositionStrategy
that inserts the layer in front of the first layer that matches a condition.
-