Uses of Class
org.openstreetmap.josm.gui.layer.Layer
-
Packages that use Layer Package Description org.openstreetmap.josm.actions Provides the classes for JOSM user actions.org.openstreetmap.josm.actions.downloadtasks Provides the classes for JOSMdownload tasks.org.openstreetmap.josm.actions.mapmode Provides the classes for JOSMmap modes.org.openstreetmap.josm.actions.relation Provides the classes for JOSM actions that work withrelations.org.openstreetmap.josm.data Provides the classes for JOSM managed data.org.openstreetmap.josm.gui Provides the classes for JOSM graphical user interface.org.openstreetmap.josm.gui.datatransfer Provides the classes for transferring data using cut/copy/paste operations.org.openstreetmap.josm.gui.datatransfer.data Provides the classes for defining the serializable data transferred using cut/copy/paste operations.org.openstreetmap.josm.gui.dialogs Provides three kinds of dialogs: Toggle dialogs on the right side of the GUI, that can be turned on, off, attached or detached from the GUI Changeset dialog based on a standalone implementation, dedicated to OSM changesets management Extended dialogs for everything elseorg.openstreetmap.josm.gui.dialogs.layer Toggle dialog allowing to display the list of layers.org.openstreetmap.josm.gui.io Provides GUI classes for handling input/output operations (download, upload, save).org.openstreetmap.josm.gui.io.importexport Provides GUI classes for handling file import/export operations.org.openstreetmap.josm.gui.layer Provides classes for handling the different kinds of map layers.org.openstreetmap.josm.gui.layer.geoimage Provides classes for handling layers displaying geotagged pictures.org.openstreetmap.josm.gui.layer.gpx Provides classes for handling GPX layers.org.openstreetmap.josm.gui.layer.imagery Provides classes for handling imagery background layers.org.openstreetmap.josm.gui.layer.markerlayer Provides classes for handling marker layers.org.openstreetmap.josm.gui.preferences.advanced Provides classes for handling advanced preferences.org.openstreetmap.josm.io.session Provides the classes for user sessions import/export. -
-
Uses of Layer in org.openstreetmap.josm.actions
Classes in org.openstreetmap.josm.actions with type parameters of type Layer Modifier and Type Class Description static classAbstractMergeAction.TargetLayerDialogResult<T extends Layer>TargetLayerDialogResultreturned byAbstractMergeAction.askTargetLayer(java.util.List<? extends org.openstreetmap.josm.gui.layer.Layer>, boolean, java.lang.String, boolean, java.lang.String)containing the selectedTargetLayer and whether the checkbox is tickedFields in org.openstreetmap.josm.actions declared as Layer Modifier and Type Field Description private LayerSessionLoadAction.Loader. activeprivate LayerRenameLayerAction. layerTAbstractMergeAction.TargetLayerDialogResult. selectedTargetLayerThe selected target layer of type TFields in org.openstreetmap.josm.actions with type parameters of type Layer Modifier and Type Field Description private MultiMap<Layer,Layer>SessionSaveAction. dependenciesprivate MultiMap<Layer,Layer>SessionSaveAction. dependenciesprivate java.util.Map<Layer,SessionLayerExporter>SessionSaveAction. exportersprivate java.util.List<Layer>SessionLoadAction.Loader. layersprivate java.util.List<Layer>SessionSaveAction. layers(package private) static java.util.List<java.lang.ref.WeakReference<Layer>>SessionSaveAction. layersInSessionFileMethods in org.openstreetmap.josm.actions with type parameters of type Layer Modifier and Type Method Description static <T extends Layer>
TAbstractMergeAction. askTargetLayer(T[] targetLayers, java.lang.String label, java.lang.String title, java.lang.String buttonText, java.lang.String buttonIcon)Ask user to choose the target layer.static <T extends Layer>
AbstractMergeAction.TargetLayerDialogResult<T>AbstractMergeAction. askTargetLayer(T[] targetLayers, java.lang.String label, java.lang.String checkbox, java.lang.String title, java.lang.String buttonText, java.lang.String buttonIcon, boolean showCheckbox, boolean checkboxDefault)Ask user to choose the target layer.Methods in org.openstreetmap.josm.actions that return Layer Modifier and Type Method Description protected LayerAutoScaleAction. getFirstSelectedLayer()Replies the first selected layer in the layer list dialog.protected LayerGpxExportAction. getLayer()Get the layer to export.protected LayerMergeLayerAction. getSourceLayer()Returns the source layer.Methods in org.openstreetmap.josm.actions that return types with arguments of type Layer Modifier and Type Method Description protected static AbstractMergeAction.TargetLayerDialogResult<Layer>AbstractMergeAction. askTargetLayer(java.util.List<? extends Layer> targetLayers, boolean showCheckbox, java.lang.String checkbox, boolean checkboxDefault, java.lang.String buttonText)Ask user to choose the target layer and shows a checkbox.Methods in org.openstreetmap.josm.actions with parameters of type Layer Modifier and Type Method Description (package private) static booleanSessionLoadAction.Loader. addLayer(Layer l)Tries to add a new layer.static <T extends Layer>
TAbstractMergeAction. askTargetLayer(T[] targetLayers, java.lang.String label, java.lang.String title, java.lang.String buttonText, java.lang.String buttonIcon)Ask user to choose the target layer.static <T extends Layer>
AbstractMergeAction.TargetLayerDialogResult<T>AbstractMergeAction. askTargetLayer(T[] targetLayers, java.lang.String label, java.lang.String checkbox, java.lang.String title, java.lang.String buttonText, java.lang.String buttonIcon, boolean showCheckbox, boolean checkboxDefault)Ask user to choose the target layer.private static booleanSaveActionBase. doInternalSave(Layer layer, java.io.File file, boolean quiet)booleanSaveActionBase. doSave(Layer layer)Saves the given layer.booleanSaveActionBase. doSave(Layer layer, boolean quiet)Saves the given layer.static booleanSaveActionBase. doSave(Layer layer, java.io.File file, boolean checkSaveConditions)Saves a layer to a given file.voidGpxExportAction. export(Layer layer)Exports a layer to a file.protected java.awt.ComponentSessionSaveAction.SessionSaveAsDialog. getDisabledExportPanel(Layer layer)java.io.FileSaveAction. getFile(Layer layer)protected abstract java.io.FileSaveActionBase. getFile(Layer layer)protected java.io.FileSaveAsAction. getFile(Layer layer)java.util.concurrent.Future<?>MergeLayerAction. merge(Layer sourceLayer)Merges the given source layer with another one, determined at runtime.static booleanMergeLayerAction. warnMergingUploadDiscouragedLayers(Layer sourceLayer, Layer targetLayer)Warns about a discouraged merge operation, ask for confirmation.booleanMergeSelectionAction. warnMergingUploadDiscouragedObjects(Layer targetLayer)Warns the user about merging too many objects with different upload policies.protected voidAbstractMergeAction. warnNoTargetLayersForSourceLayer(Layer sourceLayer)Warns user when there no layers the source layer could be merged to.Method parameters in org.openstreetmap.josm.actions with type arguments of type Layer Modifier and Type Method Description protected static AbstractMergeAction.TargetLayerDialogResult<Layer>AbstractMergeAction. askTargetLayer(java.util.List<? extends Layer> targetLayers, boolean showCheckbox, java.lang.String checkbox, boolean checkboxDefault, java.lang.String buttonText)Ask user to choose the target layer and shows a checkbox.private static voidOpenFileAction.OpenFileTask. checkNewLayers(java.util.List<Layer> oldLayers)protected java.util.concurrent.Future<?>MergeLayerAction. doMerge(java.util.List<? extends Layer> targetLayers, java.util.Collection<? extends Layer> sourceLayers)Submits merge of layers.protected java.util.concurrent.Future<?>MergeLayerAction. doMerge(java.util.List<? extends Layer> targetLayers, java.util.Collection<? extends Layer> sourceLayers)Submits merge of layers.java.util.concurrent.Future<?>MergeLayerAction. merge(java.util.List<? extends Layer> sourceLayers)Merges a list of layers together.static voidSessionSaveAction. setCurrentLayers(java.util.List<Layer> layers)Sets the layers that are currently represented in the session filestatic voidSessionSaveAction. setCurrentSession(java.io.File file, java.util.List<Layer> layers, java.util.Set<SessionWriter.SessionWriterFlags> flags)Sets the current session file and the layers included in that filestatic voidSessionSaveAction. setCurrentSession(java.io.File file, java.util.List<Layer> layers, SessionWriter.SessionWriterFlags... flags)Sets the current session file and the layers included in that filebooleanToggleUploadDiscouragedLayerAction. supportLayers(java.util.List<Layer> layers)private voidSessionSaveAction.SessionSaveAsDialog. updateExporters(java.util.Collection<Layer> noExporter)Constructors in org.openstreetmap.josm.actions with parameters of type Layer Constructor Description RenameLayerAction(java.io.File file, Layer layer)Constructs a newRenameLayerAction. -
Uses of Layer in org.openstreetmap.josm.actions.downloadtasks
Methods in org.openstreetmap.josm.actions.downloadtasks with type parameters of type Layer Modifier and Type Method Description private <L extends Layer>
LDownloadGpsTask.DownloadTask. addOrMergeLayer(L layer, L mergeLayer) -
Uses of Layer in org.openstreetmap.josm.actions.mapmode
Methods in org.openstreetmap.josm.actions.mapmode with parameters of type Layer Modifier and Type Method Description protected booleanMapMode. isEditableDataLayer(Layer l)Determines if the given layer is a data layer that can be modified.booleanDeleteAction. layerIsSupported(Layer l)booleanDrawAction. layerIsSupported(Layer l)booleanExtrudeAction. layerIsSupported(Layer l)booleanImproveWayAccuracyAction. layerIsSupported(Layer l)booleanMapMode. layerIsSupported(Layer l)Determines if layerlis supported by this map mode.booleanParallelWayAction. layerIsSupported(Layer l)booleanSelectAction. layerIsSupported(Layer l)booleanSelectLassoAction. layerIsSupported(Layer l)booleanSplitMode. layerIsSupported(Layer l) -
Uses of Layer in org.openstreetmap.josm.actions.relation
Methods in org.openstreetmap.josm.actions.relation that return Layer Modifier and Type Method Description protected LayerExportRelationToGpxAction. getLayer() -
Uses of Layer in org.openstreetmap.josm.data
Fields in org.openstreetmap.josm.data declared as Layer Modifier and Type Field Description private LayerImageData. layerMethods in org.openstreetmap.josm.data that return Layer Modifier and Type Method Description LayerImageData. getLayer()Get the layer that this data is associated with.Methods in org.openstreetmap.josm.data with parameters of type Layer Modifier and Type Method Description voidImageData. setLayer(Layer layer)Set the layer for use withImageViewerDialog.displayImages(List) -
Uses of Layer in org.openstreetmap.josm.gui
Fields in org.openstreetmap.josm.gui declared as Layer Modifier and Type Field Description private LayerMapView.WarningLayerPainter. layerFields in org.openstreetmap.josm.gui with type parameters of type Layer Modifier and Type Field Description private java.util.Map<Layer,MapMode>MapFrame. lastMapModeprivate java.util.List<Layer>MapView. nonChangedLayersprivate java.util.HashMap<Layer,MapViewPaintable.LayerPainter>MapView. registeredLayersThis is a map of all Layers that have been added to this view.Methods in org.openstreetmap.josm.gui with parameters of type Layer Modifier and Type Method Description private MapModeMapFrame. getLastMapMode(Layer newLayer)voidMapView. moveLayer(Layer layer, int pos)Moves the layer to the given new position.voidMapView. paintLayer(Layer layer, java.awt.Graphics2D g)Paints the given layer to the graphics object, using the current state of this map view.booleanMapFrame. selectMapMode(MapMode newMapMode, Layer newLayer)Another version of the selectMapMode for changing layer action.Constructors in org.openstreetmap.josm.gui with parameters of type Layer Constructor Description WarningLayerPainter(Layer layer) -
Uses of Layer in org.openstreetmap.josm.gui.datatransfer
Fields in org.openstreetmap.josm.gui.datatransfer with type parameters of type Layer Modifier and Type Field Description private java.util.List<Layer>LayerTransferable.Data. layersMethods in org.openstreetmap.josm.gui.datatransfer that return types with arguments of type Layer Modifier and Type Method Description java.util.List<Layer>LayerTransferable.Data. getLayers()Gets the list of layers that were copied.Constructor parameters in org.openstreetmap.josm.gui.datatransfer with type arguments of type Layer Constructor Description Data(LayerManager manager, java.util.List<Layer> layers)Create a new data objectLayerTransferable(LayerManager manager, java.util.List<Layer> layers)Create a new data object -
Uses of Layer in org.openstreetmap.josm.gui.datatransfer.data
Fields in org.openstreetmap.josm.gui.datatransfer.data declared as Layer Modifier and Type Field Description private LayerLayerTransferData. layerMethods in org.openstreetmap.josm.gui.datatransfer.data that return Layer Modifier and Type Method Description LayerLayerTransferData. getLayer()Gets the layer to be transferred.Constructors in org.openstreetmap.josm.gui.datatransfer.data with parameters of type Layer Constructor Description LayerTransferData(LayerManager layerManager, Layer layer)Create a new transfer data for the given layer -
Uses of Layer in org.openstreetmap.josm.gui.dialogs
Fields in org.openstreetmap.josm.gui.dialogs declared as Layer Modifier and Type Field Description private LayerLayerListDialog.LayerVisibleCheckBox. layerprivate LayerLayerListPopup.InfoAction. layerMethods in org.openstreetmap.josm.gui.dialogs that return Layer Modifier and Type Method Description private LayerLayerListDialog.LayerListModel. getActiveLayer()Replies the active layer.LayerLayerListDialog.LayerListModel. getFirstLayer()Replies the first layer.LayerLayerListDialog.LayerListModel. getLayer(int index)Replies the layer at positionindexstatic LayerLayerListDialog. getLayerForIndex(int index)Returns the layer at given index, ornull.LayerLayerListDialog.LayerListModel. getValue(int index)LayerLayerListDialog.LayerListModel. setValue(int index, Layer value)Methods in org.openstreetmap.josm.gui.dialogs that return types with arguments of type Layer Modifier and Type Method Description java.util.List<Layer>LayerListDialog.LayerListModel. getLayers()Replies the list of layers currently managed byMapView.java.util.List<Layer>LayerListDialog.LayerListModel. getPossibleMergeTargets(Layer source)Replies a list of layers which are possible merge targets forsourcejava.util.List<Layer>LayerListDialog.LayerListModel. getSelectedLayers()Replies the list of currently selected layers.Methods in org.openstreetmap.josm.gui.dialogs with parameters of type Layer Modifier and Type Method Description ActivateLayerActionLayerListDialog. createActivateLayerAction(Layer layer)DuplicateActionLayerListDialog. createDuplicateLayerAction(Layer layer)MergeActionLayerListDialog. createMergeLayerAction(Layer layer)private voidLayerListDialog.LayerListModel. fireMakeVisible(int index, Layer layer)Fires a make visible event to listenersstatic MultikeyShortcutAction.MultikeyInfoLayerListDialog. getLayerInfo(Layer l)Returns info about layer.java.util.List<Layer>LayerListDialog.LayerListModel. getPossibleMergeTargets(Layer source)Replies a list of layers which are possible merge targets forsource(package private) booleanLayerListDialog.LayerNameCellRenderer. isActiveLayer(Layer layer)static booleanLayerListDialog. isLayerValid(Layer l)Determines if a layer is valid (contained in global layer list).voidLayerListDialog.LayerListModelListener. makeVisible(int index, Layer layer)Fired when a layer is made visible.private voidLayerListDialog.LayerListModel. onAddLayer(Layer layer)Invoked when a layer managed byMapViewis addedprivate voidLayerListDialog.LayerListModel. onRemoveLayer(Layer layer)Invoked if a layer managed byMapViewis removedprivate voidUserListDialog. refreshForActiveLayer(Layer activeLayer)voidLayerListDialog.LayerListModel. setSelectedLayer(Layer layer)Markslayeras selected layer.LayerLayerListDialog.LayerListModel. setValue(int index, Layer value)voidLayerListDialog.LayerVisibleCheckBox. updateStatus(Layer layer)Constructors in org.openstreetmap.josm.gui.dialogs with parameters of type Layer Constructor Description InfoAction(Layer layer)Constructs a newInfoActionfor the given layer.Constructor parameters in org.openstreetmap.josm.gui.dialogs with type arguments of type Layer Constructor Description LayerListPopup(java.util.List<Layer> selectedLayers)Constructs a newLayerListPopup. -
Uses of Layer in org.openstreetmap.josm.gui.dialogs.layer
Fields in org.openstreetmap.josm.gui.dialogs.layer declared as Layer Modifier and Type Field Description private LayerActivateLayerAction. layerprivate LayerDuplicateAction. layerprivate LayerMergeAction. layerFields in org.openstreetmap.josm.gui.dialogs.layer with type parameters of type Layer Modifier and Type Field Description private java.lang.ref.WeakReference<Layer>ShowHideLayerAction. lastLayerprivate java.util.List<Layer>MergeAction. layersprivate java.util.function.Supplier<java.util.Collection<Layer>>LayerVisibilityAction. layerSupplierMethods in org.openstreetmap.josm.gui.dialogs.layer that return types with arguments of type Layer Modifier and Type Method Description private static java.util.List<Layer>LayerListTransferHandler. createCopy(java.util.List<Layer> layersToUse, java.util.List<Layer> namesToAvoid)Methods in org.openstreetmap.josm.gui.dialogs.layer with parameters of type Layer Modifier and Type Method Description private static voidDuplicateAction. duplicate(Layer layer)private voidActivateLayerAction. execute(Layer layer)(package private) booleanActivateLayerAction. isActiveLayer(Layer layer)Method parameters in org.openstreetmap.josm.gui.dialogs.layer with type arguments of type Layer Modifier and Type Method Description private static java.util.List<Layer>LayerListTransferHandler. createCopy(java.util.List<Layer> layersToUse, java.util.List<Layer> namesToAvoid)MergeActionMergeAction. getMultiLayerAction(java.util.List<Layer> layers)private static java.util.List<java.lang.String>LayerListTransferHandler. getNames(java.util.List<Layer> namesToAvoid)static java.lang.StringLayerListTransferHandler. suggestNewLayerName(java.lang.String name, java.util.List<Layer> namesToAvoid)Suggests a new name in the form "copy of name"booleanDeleteLayerAction. supportLayers(java.util.List<Layer> layers)booleanLayerVisibilityAction. supportLayers(java.util.List<Layer> layers)booleanMergeAction. supportLayers(java.util.List<Layer> layers)booleanShowHideLayerAction. supportLayers(java.util.List<Layer> layers)Constructors in org.openstreetmap.josm.gui.dialogs.layer with parameters of type Layer Constructor Description ActivateLayerAction(Layer layer, LayerListDialog.LayerListModel model)Constructs a newActivateLayerAction.DuplicateAction(Layer layer, LayerListDialog.LayerListModel model)Constructs a newDuplicateAction.MergeAction(Layer layer, java.util.List<Layer> layers, LayerListDialog.LayerListModel model)Constructs a newMergeAction.MergeAction(Layer layer, LayerListDialog.LayerListModel model)Constructs a newMergeAction.Constructor parameters in org.openstreetmap.josm.gui.dialogs.layer with type arguments of type Layer Constructor Description LayerVisibilityAction(java.util.function.Supplier<java.util.Collection<Layer>> layerSupplier, java.util.function.Supplier<java.util.Collection<ImageryFilterSettings>> filterSettingsSupplier)Creates a newLayerVisibilityActionMergeAction(java.util.List<Layer> layers, LayerListDialog.LayerListModel model)Constructs a newMergeAction.MergeAction(Layer layer, java.util.List<Layer> layers, LayerListDialog.LayerListModel model)Constructs a newMergeAction. -
Uses of Layer in org.openstreetmap.josm.gui.io
Method parameters in org.openstreetmap.josm.gui.io with type arguments of type Layer Modifier and Type Method Description static booleanSaveLayersDialog. saveUnsavedModifications(java.lang.Iterable<? extends Layer> selectedLayers, SaveLayersDialog.Reason reason)Asks user to perform "save layer" operations (save on disk and/or upload data to server) before data layers deletion. -
Uses of Layer in org.openstreetmap.josm.gui.io.importexport
Fields in org.openstreetmap.josm.gui.io.importexport with type parameters of type Layer Modifier and Type Field Description private static java.util.List<java.lang.Class<? extends Layer>>GpxExporter. SUPPORTED_LAYERSMethods in org.openstreetmap.josm.gui.io.importexport that return types with arguments of type Layer Modifier and Type Method Description static java.util.List<java.lang.Class<? extends Layer>>GpxExporter. getSupportedLayers()Returns the list of supported layers.Methods in org.openstreetmap.josm.gui.io.importexport with parameters of type Layer Modifier and Type Method Description booleanFileExporter. acceptFile(java.io.File pathname, Layer layer)Check if this exporter can export a certain layer to a certain file.booleanGpxExporter. acceptFile(java.io.File pathname, Layer layer)booleanNoteExporter. acceptFile(java.io.File pathname, Layer layer)booleanOsmExporter. acceptFile(java.io.File pathname, Layer layer)booleanValidatorErrorExporter. acceptFile(java.io.File pathname, Layer layer)protected voidOsmChangeImporter. addLayer(Layer layer)voidFileExporter. exportData(java.io.File file, Layer layer)Execute the data export.voidGeoJSONExporter. exportData(java.io.File file, Layer layer)voidGpxExporter. exportData(java.io.File file, Layer layer)private voidGpxExporter. exportData(java.io.File file, Layer layer, boolean quiet)voidNoteExporter. exportData(java.io.File file, Layer layer)voidOsmExporter. exportData(java.io.File file, Layer layer)voidOsmExporter. exportData(java.io.File file, Layer layer, boolean isAutosave)Exports OSM data to the given file.voidValidatorErrorExporter. exportData(java.io.File file, Layer layer)voidWMSLayerExporter. exportData(java.io.File file, Layer layer)voidFileExporter. exportDataQuiet(java.io.File file, Layer layer)Execute the data export without prompting the user.voidGpxExporter. exportDataQuiet(java.io.File file, Layer layer)private static GpxDataGpxExporter. getGpxData(Layer layer, java.io.File file)static booleanGpxExporter. isSupportedLayer(Layer layer)Determines if the given layer is supported by this action. -
Uses of Layer in org.openstreetmap.josm.gui.layer
Subclasses of Layer in org.openstreetmap.josm.gui.layer Modifier and Type Class Description classAbstractCachedTileSourceLayer<T extends org.openstreetmap.gui.jmapviewer.tilesources.AbstractTMSTileSource>Class providing cache to other layersclassAbstractModifiableLayerA modifiable layer.classAbstractOsmDataLayerAbstraction ofOsmDataLayer.classAbstractTileSourceLayer<T extends org.openstreetmap.gui.jmapviewer.tilesources.AbstractTMSTileSource>Base abstract class that supports displaying images provided by TileSource.classGpxLayerA layer that displays data from a Gpx file / the OSM gpx downloads.classGpxRouteLayerA layer that displays GpxData.routes from a GPX file.classImageryLayerclassNoteLayerA layer to hold Note objects.classOsmDataLayerA layer that holds OSM data from a specific dataset.classTMSLayerClass that displays a slippy map layer.classValidatorLayerA layer showing error messages.classWMSLayerThis is a layer that grabs the current screen from an WMS server.classWMTSLayerWMTS layer based on AbstractTileSourceLayer.Fields in org.openstreetmap.josm.gui.layer declared as Layer Modifier and Type Field Description private LayerMainLayerManager. activeLayerThe layer from the layers list that is currently active.private LayerLayerManager.LayerAddEvent. addedLayerprivate LayerLayer.LayerGpxExportAction. layerprivate LayerLayer.LayerSaveAction. layerprivate LayerLayer.LayerSaveAsAction. layerprivate LayerMainLayerManager.ActiveLayerChangeEvent. previousActiveLayerprivate LayerLayerManager.LayerRemoveEvent. removedLayerFields in org.openstreetmap.josm.gui.layer with type parameters of type Layer Modifier and Type Field Description private java.util.List<Layer>CustomizeColor. colorLayersprivate java.lang.ref.WeakReference<Layer>JumpToMarkerActions.JumpToMarker. lastLayerprivate java.util.List<Layer>LayerManager. layersThis is the list of layers we manage.private java.util.Collection<Layer>LayerManager.LayerRemoveEvent. scheduleForRemovalMethods in org.openstreetmap.josm.gui.layer with type parameters of type Layer Modifier and Type Method Description <T extends Layer>
java.util.List<T>LayerManager. getLayersOfType(java.lang.Class<T> ofType)Replies an unmodifiable list of layers of a certain type.Methods in org.openstreetmap.josm.gui.layer that return Layer Modifier and Type Method Description LayerMainLayerManager. getActiveLayer()Replies the currently active layerLayerLayerManager.LayerAddEvent. getAddedLayer()Gets the layer that was added.LayerMainLayerManager.ActiveLayerChangeEvent. getPreviousActiveLayer()Gets the active layer that was previously used.LayerLayerManager.LayerRemoveEvent. getRemovedLayer()Gets the layer that is about to be removed.private LayerMainLayerManager. suggestNextActiveLayer(Layer except)Determines the next active data layer.Methods in org.openstreetmap.josm.gui.layer that return types with arguments of type Layer Modifier and Type Method Description private java.util.Collection<Layer>LayerManager. fireLayerRemoving(Layer layer)Fire the layer remove eventjava.util.List<Layer>LayerManager. getLayers()Gets an unmodifiable list of all layers that are currently in this manager.java.util.List<Layer>MainLayerManager. getVisibleLayersInZOrder()Creates a list of the visible layers in Z-Order, the layer with the lowest Z-Order first, layer with the highest Z-Order last.protected java.util.Collection<Layer>LayerManager. realRemoveSingleLayer(Layer layerToRemove)Remove a single layer from the mapview (implementation).protected java.util.Collection<Layer>MainLayerManager. realRemoveSingleLayer(Layer layer)Methods in org.openstreetmap.josm.gui.layer with parameters of type Layer Modifier and Type Method Description voidLayerManager. addLayer(Layer layer)Add a layer.voidLayerManager. addLayer(Layer layer, boolean initialZoom)Add a layer.protected voidLayerManager. checkContainsLayer(Layer layer)Checks if the specified layer is handled by this layer manager.booleanLayerManager. containsLayer(Layer layer)replies true if the list of layers managed by this map view contain layerprivate voidLayerManager. fireLayerAdded(Layer layer, boolean initialZoom)private java.util.Collection<Layer>LayerManager. fireLayerRemoving(Layer layer)Fire the layer remove eventstatic LayerPositionStrategyLayerPositionStrategy. inFrontOf(Layer other)Gets aLayerPositionStrategythat inserts this layer in front of a given layerprivate static voidLayerManager. insertLayerAt(java.util.List<Layer> layers, Layer layer, int position)private voidLayerManager. insertLayerAt(Layer layer, int position)Insert a layer at a given position.booleanGpxLayer. isMergable(Layer other)booleanGpxRouteLayer. isMergable(Layer other)booleanImageryLayer. isMergable(Layer other)abstract booleanLayer. isMergable(Layer other)Determines if the other layer can be merged into this layer.booleanNoteLayer. isMergable(Layer other)booleanOsmDataLayer. isMergable(Layer other)booleanValidatorLayer. isMergable(Layer other)voidGpxLayer. mergeFrom(Layer from)voidGpxRouteLayer. mergeFrom(Layer from)voidImageryLayer. mergeFrom(Layer from)abstract voidLayer. mergeFrom(Layer from)Merges the given layer into this layer.voidNoteLayer. mergeFrom(Layer from)voidOsmDataLayer. mergeFrom(Layer from)voidValidatorLayer. mergeFrom(Layer from)voidLayerManager. moveLayer(Layer layer, int position)Move a layer to a new position.protected voidLayerManager. realAddLayer(Layer layer, boolean initialZoom)Add a layer (implementation).protected voidMainLayerManager. realAddLayer(Layer layer, boolean initialZoom)protected voidLayerManager. realMoveLayer(Layer layer, int position)Move a layer to a new position (implementation).protected voidLayerManager. realRemoveLayer(Layer layer)Remove the layer from the mapview (implementation).protected java.util.Collection<Layer>LayerManager. realRemoveSingleLayer(Layer layerToRemove)Remove a single layer from the mapview (implementation).protected java.util.Collection<Layer>MainLayerManager. realRemoveSingleLayer(Layer layer)protected voidMainLayerManager. realSetActiveLayer(Layer layer)voidLayerManager. removeLayer(Layer layer)Remove the layer from the mapview.voidMainLayerManager. setActiveLayer(Layer layer)Set the active layer, unless the layer is being uploaded.private voidMainLayerManager. setActiveLayer(Layer layer, boolean forceEditLayerUpdate)protected voidJumpToMarkerActions.JumpToMarker. setLastLayer(Layer l)private LayerMainLayerManager. suggestNextActiveLayer(Layer except)Determines the next active data layer.Method parameters in org.openstreetmap.josm.gui.layer with type arguments of type Layer Modifier and Type Method Description static booleanAbstractTileSourceLayer. actionSupportLayers(java.util.List<Layer> layers)Default implementation ofLayer.LayerAction.supportLayers(List).static LayerPositionStrategyLayerPositionStrategy. 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.javax.swing.ActionCustomizeColor. getMultiLayerAction(java.util.List<Layer> layers)javax.swing.ActionLayer.MultiLayerAction. getMultiLayerAction(java.util.List<Layer> layers)Returns the action for a given list of layers.static LayerPositionStrategyLayerPositionStrategy. inFrontOfFirst(java.util.function.Predicate<Layer> what)Gets aLayerPositionStrategythat inserts the layer in front of the first layer that matches a condition.private static voidLayerManager. insertLayerAt(java.util.List<Layer> layers, Layer layer, int position)voidLayerManager.LayerRemoveEvent. scheduleRemoval(java.util.Collection<? extends Layer> layers)Schedule the removal of other layers after this layer has been deleted.booleanCustomizeColor. supportLayers(java.util.List<Layer> layers)booleanImageryLayer.OffsetAction. supportLayers(java.util.List<Layer> layers)booleanLayer.LayerAction. supportLayers(java.util.List<Layer> layers)Determines if this action supports a given list of layers.booleanLayer.SeparatorLayerAction. supportLayers(java.util.List<Layer> layers)private voidLayerManager. updateLayers(java.util.function.Consumer<java.util.List<Layer>> mutator)Update theLayerManager.layersfield.Constructors in org.openstreetmap.josm.gui.layer with parameters of type Layer Constructor Description ActiveLayerChangeEvent(MainLayerManager source, OsmDataLayer previousDataLayer, Layer previousActiveLayer)Create a newMainLayerManager.ActiveLayerChangeEventCustomizeColor(Layer l)Constructs a newCustomizeColorfor a single layer.LayerAddEvent(LayerManager source, Layer addedLayer, boolean requiresZoom)LayerGpxExportAction(Layer layer)Create a new gpx export action for the given layer.LayerRemoveEvent(LayerManager source, Layer removedLayer)LayerSaveAction(Layer layer)Create a new action that saves the layerLayerSaveAsAction(Layer layer)Create a new save as actionConstructor parameters in org.openstreetmap.josm.gui.layer with type arguments of type Layer Constructor Description CustomizeColor(java.util.List<Layer> l)Constructs a newCustomizeColorfor a given list of layers. -
Uses of Layer in org.openstreetmap.josm.gui.layer.geoimage
Classes in org.openstreetmap.josm.gui.layer.geoimage with type parameters of type Layer Modifier and Type Class Description private static classImageViewerDialog.MoveImgDisplayPanel<T extends Layer & IGeoImageLayer>A JPanel whose entire purpose is to display an image by (a) moving the imgDisplay around and (b) setting the imgDisplay as a child for this panel.Subclasses of Layer in org.openstreetmap.josm.gui.layer.geoimage Modifier and Type Class Description classCorrelationSupportLayerA support layer meant to be modified by the user to provide real-time images correlation.classGeoImageLayerLayer displaying geotagged pictures.(package private) classWikimediaCommonsLayerA layer showing geocoded images from Wikimedia CommonsFields in org.openstreetmap.josm.gui.layer.geoimage declared as Layer Modifier and Type Field Description private TImageViewerDialog.MoveImgDisplayPanel. layerMethods in org.openstreetmap.josm.gui.layer.geoimage with parameters of type Layer Modifier and Type Method Description booleanCorrelationSupportLayer. isMergable(Layer other)booleanGeoImageLayer. isMergable(Layer other)voidGeoImageLayer. mergeFrom(Layer from)private voidImageViewerDialog. registerOnLayer(Layer layer)private voidImageViewerDialog. removeImageTab(Layer layer)Remove a tab for a layer from theImageViewerDialog.layerstab paneprivate voidImageViewerDialog. showLayer(Layer newLayer)Method parameters in org.openstreetmap.josm.gui.layer.geoimage with type arguments of type Layer Modifier and Type Method Description (package private) java.lang.StringImageViewerDialog.MoveImgDisplayPanel. getLabel(java.util.List<Layer> availableLayers)Get the label for this panelbooleanShowThumbnailAction. supportLayers(java.util.List<Layer> layers)Check if the current layer is supported. -
Uses of Layer in org.openstreetmap.josm.gui.layer.gpx
Classes in org.openstreetmap.josm.gui.layer.gpx with type parameters of type Layer Modifier and Type Class Description classConvertToDataLayerAction<T extends Layer>Fields in org.openstreetmap.josm.gui.layer.gpx declared as Layer Modifier and Type Field Description protected TConvertToDataLayerAction. layersource layerFields in org.openstreetmap.josm.gui.layer.gpx with type parameters of type Layer Modifier and Type Field Description private java.util.List<Layer>CustomizeDrawingAction. layersMethod parameters in org.openstreetmap.josm.gui.layer.gpx with type arguments of type Layer Modifier and Type Method Description javax.swing.ActionCustomizeDrawingAction. getMultiLayerAction(java.util.List<Layer> layers)javax.swing.ActionDownloadAlongTrackAction. getMultiLayerAction(java.util.List<Layer> layers)booleanCustomizeDrawingAction. supportLayers(java.util.List<Layer> layers)booleanDownloadAlongTrackAction. supportLayers(java.util.List<Layer> layers)Constructors in org.openstreetmap.josm.gui.layer.gpx with parameters of type Layer Constructor Description CustomizeDrawingAction(Layer l)Create a newCustomizeDrawingActionConstructor parameters in org.openstreetmap.josm.gui.layer.gpx with type arguments of type Layer Constructor Description CustomizeDrawingAction(java.util.List<Layer> l)Create a newCustomizeDrawingAction -
Uses of Layer in org.openstreetmap.josm.gui.layer.imagery
Subclasses of Layer in org.openstreetmap.josm.gui.layer.imagery Modifier and Type Class Description classMVTLayerA layer for Mapbox Vector TilesMethod parameters in org.openstreetmap.josm.gui.layer.imagery with type arguments of type Layer Modifier and Type Method Description booleanAutoLoadTilesAction. supportLayers(java.util.List<Layer> layers)booleanAutoZoomAction. supportLayers(java.util.List<Layer> layers)booleanMVTLayer.ConvertLayerAction. supportLayers(java.util.List<Layer> layers)booleanMVTLayer.EnableLayerAction. supportLayers(java.util.List<Layer> layers)booleanShowErrorsAction. supportLayers(java.util.List<Layer> layers) -
Uses of Layer in org.openstreetmap.josm.gui.layer.markerlayer
Subclasses of Layer in org.openstreetmap.josm.gui.layer.markerlayer Modifier and Type Class Description classMarkerLayerA layer holding markers.Methods in org.openstreetmap.josm.gui.layer.markerlayer with parameters of type Layer Modifier and Type Method Description private static MarkerMarkerLayer. getAdjacentMarker(Marker startMarker, boolean next, Layer layer)booleanMarkerLayer. isMergable(Layer other)voidMarkerLayer. mergeFrom(Layer from)Method parameters in org.openstreetmap.josm.gui.layer.markerlayer with type arguments of type Layer Modifier and Type Method Description booleanMarkerLayer.ShowHideMarkerText. supportLayers(java.util.List<Layer> layers) -
Uses of Layer in org.openstreetmap.josm.gui.preferences.advanced
Subclasses of Layer in org.openstreetmap.josm.gui.preferences.advanced Modifier and Type Class Description private static classAdvancedPreference.UnclearableOsmDataLayer -
Uses of Layer in org.openstreetmap.josm.io.session
Classes in org.openstreetmap.josm.io.session with type parameters of type Layer Modifier and Type Class Description classAbstractSessionExporter<T extends Layer>Abstract superclass of all session layer exporters.classGenericSessionExporter<T extends Layer>Generic superclass ofOsmDataSessionExporterandGpxTracksSessionExporterlayer exporters.Fields in org.openstreetmap.josm.io.session declared as Layer Modifier and Type Field Description protected TAbstractSessionExporter. layerprivate LayerSessionReader.LayerDependency. layerFields in org.openstreetmap.josm.io.session with type parameters of type Layer Modifier and Type Field Description private MultiMap<Layer,Layer>SessionWriter. dependenciesprivate MultiMap<Layer,Layer>SessionWriter. dependenciesprivate java.util.Map<Layer,SessionLayerExporter>SessionWriter. exportersprivate java.util.List<Layer>SessionReader. layersprivate java.util.List<Layer>SessionWriter. layersprivate static java.util.Map<java.lang.Class<? extends Layer>,java.lang.Class<? extends SessionLayerExporter>>SessionWriter. sessionLayerExportersprivate java.util.Map<java.lang.Integer,java.util.Map.Entry<Layer,org.w3c.dom.Element>>SessionReader.ImportSupport. subLayersMethods in org.openstreetmap.josm.io.session that return Layer Modifier and Type Method Description LayerSessionReader. getActive()Returns active layer.protected LayerGpxRoutesSessionImporter. getLayer(GpxImporter.GpxImporterData importData)protected LayerGpxTracksSessionImporter. getLayer(GpxImporter.GpxImporterData importData)LayerSessionReader.LayerDependency. getLayer()static LayerOsmDataSessionImporter. importData(OsmImporter osmImporter, SessionReader.ImportSupport support, java.lang.String fileStr, ProgressMonitor progressMonitor)Import data as a new layer.LayerGeoImageSessionImporter. load(org.w3c.dom.Element elem, SessionReader.ImportSupport support, ProgressMonitor progressMonitor)LayerGpxTracksSessionImporter. load(org.w3c.dom.Element elem, SessionReader.ImportSupport support, ProgressMonitor progressMonitor)LayerImagerySessionImporter. load(org.w3c.dom.Element elem, SessionReader.ImportSupport support, ProgressMonitor progressMonitor)LayerMarkerSessionImporter. load(org.w3c.dom.Element elem, SessionReader.ImportSupport support, ProgressMonitor progressMonitor)LayerNoteSessionImporter. load(org.w3c.dom.Element elem, SessionReader.ImportSupport support, ProgressMonitor progressMonitor)LayerOsmDataSessionImporter. load(org.w3c.dom.Element elem, SessionReader.ImportSupport support, ProgressMonitor progressMonitor)LayerSessionLayerImporter. load(org.w3c.dom.Element elem, SessionReader.ImportSupport support, ProgressMonitor progressMonitor)Load the layer from xml meta-data.Methods in org.openstreetmap.josm.io.session that return types with arguments of type Layer Modifier and Type Method Description java.util.Collection<Layer>AbstractSessionExporter. getDependencies()java.util.Collection<Layer>GeoImageSessionExporter. getDependencies()java.util.Collection<Layer>MarkerSessionExporter. getDependencies()java.util.Collection<Layer>SessionLayerExporter. getDependencies()Return the Layers, this Layer depends on.java.util.List<Layer>SessionReader. getLayers()Returns list of layers that are later added to the mapview.java.util.Map<java.lang.Integer,java.util.Map.Entry<Layer,org.w3c.dom.Element>>SessionReader.ImportSupport. getSubLayers()Returns the sub layersMethods in org.openstreetmap.josm.io.session with parameters of type Layer Modifier and Type Method Description voidSessionReader.ImportSupport. addSubLayer(int idx, Layer layer, org.w3c.dom.Element el)Add sub layersintSessionWriter.ExportSupport. getLayerIndexOf(Layer layer)Get the index of the specified layerstatic SessionLayerExporterSessionWriter. getSessionLayerExporter(Layer layer)Returns the session layer exporter for the given layer.private static voidSessionReader. setLayerAttributes(Layer layer, org.w3c.dom.Element e)Method parameters in org.openstreetmap.josm.io.session with type arguments of type Layer Modifier and Type Method Description static voidSessionWriter. registerSessionLayerExporter(java.lang.Class<? extends Layer> layerClass, java.lang.Class<? extends SessionLayerExporter> exporter)Register a session layer exporter.Constructors in org.openstreetmap.josm.io.session with parameters of type Layer Constructor Description LayerDependency(java.lang.Integer index, Layer layer, SessionLayerImporter importer)Constructor parameters in org.openstreetmap.josm.io.session with type arguments of type Layer Constructor Description SessionWriter(java.util.List<Layer> layers, int active, java.util.Map<Layer,SessionLayerExporter> exporters, MultiMap<Layer,Layer> dependencies, boolean zip)Constructs a newSessionWriter.SessionWriter(java.util.List<Layer> layers, int active, java.util.Map<Layer,SessionLayerExporter> exporters, MultiMap<Layer,Layer> dependencies, boolean zip)Constructs a newSessionWriter.SessionWriter(java.util.List<Layer> layers, int active, java.util.Map<Layer,SessionLayerExporter> exporters, MultiMap<Layer,Layer> dependencies, boolean zip)Constructs a newSessionWriter.SessionWriter(java.util.List<Layer> layers, int active, java.util.Map<Layer,SessionLayerExporter> exporters, MultiMap<Layer,Layer> dependencies, boolean zip)Constructs a newSessionWriter.SessionWriter(java.util.List<Layer> layers, int active, java.util.Map<Layer,SessionLayerExporter> exporters, MultiMap<Layer,Layer> dependencies, SessionWriter.SessionWriterFlags... flags)Constructs a newSessionWriter.SessionWriter(java.util.List<Layer> layers, int active, java.util.Map<Layer,SessionLayerExporter> exporters, MultiMap<Layer,Layer> dependencies, SessionWriter.SessionWriterFlags... flags)Constructs a newSessionWriter.SessionWriter(java.util.List<Layer> layers, int active, java.util.Map<Layer,SessionLayerExporter> exporters, MultiMap<Layer,Layer> dependencies, SessionWriter.SessionWriterFlags... flags)Constructs a newSessionWriter.SessionWriter(java.util.List<Layer> layers, int active, java.util.Map<Layer,SessionLayerExporter> exporters, MultiMap<Layer,Layer> dependencies, SessionWriter.SessionWriterFlags... flags)Constructs a newSessionWriter.
-