Package org.openstreetmap.josm.gui.layer
Provides classes for handling the different kinds of map layers.
-
Interface Summary Interface Description DownloadFromServer Interface for layers that can download data.ImageryLayer.OffsetMenuEntry An additional menu entry in the imagery offset menu.JumpToMarkerActions.JumpToMarkerLayer Interface for a layer that displays markers and supports jumping from one marker to the next.Layer.LayerAction Action related to a single layer.Layer.MultiLayerAction Action related to several layers.LayerManager.LayerChangeListener Interface to notify listeners of a layer change.LayerPositionStrategy This class defines a position to insert a given layer in the list of layers.MainLayerManager.ActiveLayerChangeListener This listener listens to changes of the active or the edit layer.MainLayerManager.LayerAvailabilityListener A listener that gets informed before any layer is displayed and after all layers are removed.MapViewPaintable This is a component that can be painted on the map view.MapViewPaintable.LayerPainter Gets a new LayerPainter that paints thisMapViewPaintable
to the given map view.MapViewPaintable.PaintableInvalidationListener This is a listener that listens toMapViewPaintable.PaintableInvalidationEvent
sNativeScaleLayer Represents a layer that has native scales.OsmDataLayer.LayerStateChangeListener Listener called when a state of this layer has changed.SaveToFile Interface for layers that can save data to a file.UploadToServer Interface for layers that can upload data. -
Class Summary Class Description AbstractCachedTileSourceLayer<T extends org.openstreetmap.gui.jmapviewer.tilesources.AbstractTMSTileSource> Class providing cache to other layersAbstractMapViewPaintable This class implements the invalidation listener mechanism suggested byMapViewPaintable
and a default #attaAbstractModifiableLayer A modifiable layer.AbstractOsmDataLayer Abstraction ofOsmDataLayer
.AbstractTileSourceLayer<T extends org.openstreetmap.gui.jmapviewer.tilesources.AbstractTMSTileSource> Base abstract class that supports displaying images provided by TileSource.AbstractTileSourceLayer.AbstractTileAction AbstractTileSourceLayer.GetOsmTileStatusAction AbstractTileSourceLayer.LoadTileAction AbstractTileSourceLayer.MarkOsmTileDirtyAction AbstractTileSourceLayer.MenuAddition Class to store a menu action and the class it belongs to.AbstractTileSourceLayer.ShowTileInfoAction AbstractTileSourceLayer.TileSetInfo Data container to hold information about aTileSet
class.AlignImageryPanel The panel to nag a user ONCE that he/she has to align imagery.AutosaveTask Saves data and note layers periodically so they can be recovered in case of a crash.AutosaveTask.AutosaveLayerInfo<T extends AbstractModifiableLayer> CustomizeColor Action to show a dialog for picking a color.GpxLayer A layer that displays data from a Gpx file / the OSM gpx downloads.GpxLayer.CombineTracksToSegmentedTrackAction Action to merge tracks into a single segmented trackGpxLayer.SplitTrackSegmentsToTracksAction Action to split track segments into a multiple tracks with one segment eachGpxLayer.SplitTracksToLayersAction Action to split tracks of one gpx layer into multiple gpx layers, the result is one GPX track per gpx layer.GpxRouteLayer A layer that displays GpxData.routes from a GPX file.ImageryLayer ImageryLayer.ApplyOffsetAction JumpToMarkerActions Manages actions to jump from one marker to the next for layers that show markers (GeoImageLayer
,MarkerLayer
).JumpToMarkerActions.JumpToMarker JumpToMarkerActions.JumpToNextMarker Go to the next marker in a layerJumpToMarkerActions.JumpToPreviousMarker Go to the previous marker in a layerLayer A layer encapsulates the gui component of one dataset and its representation.Layer.LayerGpxExportAction Action that exports the layer as gpx fileLayer.LayerSaveAction The action to save a layerLayer.LayerSaveAsAction Action to save the layer in a new fileLayer.SeparatorLayerAction Special class that can be returned by getMenuEntries when JSeparator needs to be createdLayerManager This class handles the layer management.LayerManager.LayerAddEvent The event that is fired whenever a layer was added.LayerManager.LayerManagerEvent Base class of layer manager events.LayerManager.LayerOrderChangeEvent An event that is fired whenever the order of layers changed.LayerManager.LayerRemoveEvent The event that is fired before removing a layer.MainLayerManager This class extends the layer manager by adding an active and an edit layer.MainLayerManager.ActiveLayerChangeEvent This event is fired whenever the active or the data layer changes.MainLayerManager.LayerAvailabilityEvent This event is fired forMainLayerManager.LayerAvailabilityListener
MapViewGraphics This class provides layers with access to drawing on the map view.MapViewPaintable.MapViewEvent A event that is fired whenever the map view is attached or detached from any layer.MapViewPaintable.PaintableInvalidationEvent This event is fired whenever the paintable got invalidated and needs repainting some time in the future.NativeScaleLayer.Scale Represents a scale with native flag, used inNativeScaleLayer.ScaleList
NativeScaleLayer.ScaleList List of scales, may include intermediate steps between native resolutionsNoteLayer A layer to hold Note objects.OsmDataLayer A layer that holds OSM data from a specific dataset.OsmDataLayer.DataCountVisitor A listener that counts the number of primitives it encountersTMSLayer Class that displays a slippy map layer.ValidatorLayer A layer showing error messages.WMSLayer This is a layer that grabs the current screen from an WMS server.WMTSLayer WMTS layer based on AbstractTileSourceLayer.