Package | Description |
---|---|
org.openstreetmap.josm.gui.layer |
Provides classes for handling the different kinds of map layers.
|
Modifier and Type | Field and 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.
|
Modifier and Type | Method and 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 |
ValidatorLayer.getDefaultLayerPosition() |
LayerPositionStrategy |
GpxLayer.getDefaultLayerPosition() |
LayerPositionStrategy |
Layer.getDefaultLayerPosition()
Gets the strategy that specifies where this layer should be inserted in a layer list.
|
static LayerPositionStrategy |
LayerPositionStrategy.inFrontOf(Layer other)
Gets a
LayerPositionStrategy that inserts this layer in front of a given layer |
static LayerPositionStrategy |
LayerPositionStrategy.inFrontOfFirst(java.util.function.Predicate<Layer> what)
Gets a
LayerPositionStrategy that inserts the layer in front of the first layer that matches a condition. |