Class LayerManager

java.lang.Object
org.openstreetmap.josm.gui.layer.LayerManager
Direct Known Subclasses:
MainLayerManager

public class LayerManager extends Object
This class handles the layer management.

This manager handles a list of layers with the first layer being the front layer.

Threading

Synchronization of the layer manager is done by synchronizing all read/write access. All changes are internally done in the EDT thread.

Methods of this manager may be called from any thread in any order. Listeners are called while this layer manager is locked, so they should not block on other threads.

Since:
10273