Uses of Class
org.openstreetmap.josm.gui.layer.Layer
Packages that use Layer
Package
Description
Provides the classes for JOSM user actions.
Provides the classes for JOSM
download tasks .Provides the classes for JOSM
map modes.Provides the classes for JOSM actions that work with
relations.Provides the classes for JOSM managed data.
Provides the classes for JOSM graphical user interface.
Provides the classes for transferring data using cut/copy/paste operations.
Provides the classes for defining the serializable data transferred using cut/copy/paste operations.
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 else
Toggle dialog allowing to display the list of layers.
Provides GUI classes for handling input/output operations (download, upload, save).
Provides GUI classes for handling file import/export operations.
Provides classes for handling the different kinds of map layers.
Provides classes for handling layers displaying geotagged pictures.
Provides classes for handling GPX layers.
Provides classes for handling imagery background layers.
Provides classes for handling marker layers.
Provides classes for handling advanced preferences.
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 LayerModifier and TypeClassDescriptionstatic 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 LayerModifier and TypeFieldDescriptionprivate LayerSessionLoadAction.Loader.activeprivate final LayerRenameLayerAction.layerAbstractMergeAction.TargetLayerDialogResult.selectedTargetLayerThe selected target layer of type TFields in org.openstreetmap.josm.actions with type parameters of type LayerModifier and TypeFieldDescriptionSessionSaveAction.dependenciesSessionSaveAction.dependenciesprivate Map<Layer,SessionLayerExporter> SessionSaveAction.exportersSessionLoadAction.Loader.layersSessionSaveAction.layers(package private) static List<WeakReference<Layer>>SessionSaveAction.layersInSessionFileMethods in org.openstreetmap.josm.actions with type parameters of type LayerModifier and TypeMethodDescriptionstatic <T extends Layer>
TAbstractMergeAction.askTargetLayer(T[] targetLayers, String label, String title, String buttonText, String buttonIcon) Ask user to choose the target layer.static <T extends Layer>
AbstractMergeAction.TargetLayerDialogResult<T>AbstractMergeAction.askTargetLayer(T[] targetLayers, String label, String checkbox, String title, String buttonText, String buttonIcon, boolean showCheckbox, boolean checkboxDefault) Ask user to choose the target layer.Methods in org.openstreetmap.josm.actions that return LayerModifier and TypeMethodDescriptionprotected 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 LayerModifier and TypeMethodDescriptionprotected static AbstractMergeAction.TargetLayerDialogResult<Layer>AbstractMergeAction.askTargetLayer(List<? extends Layer> targetLayers, boolean showCheckbox, String checkbox, boolean checkboxDefault, String buttonText) Ask user to choose the target layer and shows a checkbox.Methods in org.openstreetmap.josm.actions with parameters of type LayerModifier and TypeMethodDescription(package private) static booleanTries to add a new layer.static <T extends Layer>
TAbstractMergeAction.askTargetLayer(T[] targetLayers, String label, String title, String buttonText, String buttonIcon) Ask user to choose the target layer.static <T extends Layer>
AbstractMergeAction.TargetLayerDialogResult<T>AbstractMergeAction.askTargetLayer(T[] targetLayers, String label, String checkbox, String title, String buttonText, String buttonIcon, boolean showCheckbox, boolean checkboxDefault) Ask user to choose the target layer.private static booleanSaveActionBase.doInternalSave(Layer layer, File file, boolean quiet) booleanSaves the given layer.booleanSaves the given layer.static booleanSaves a layer to a given file.voidExports a layer to a file.protected final ComponentSessionSaveAction.SessionSaveAsDialog.getDisabledExportPanel(Layer layer) protected abstract Fileprotected FileFuture<?>Merges the given source layer with another one, determined at runtime.static final booleanMergeLayerAction.warnMergingUploadDiscouragedLayers(Layer sourceLayer, Layer targetLayer) Warns about a discouraged merge operation, ask for confirmation.final 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 LayerModifier and TypeMethodDescriptionprotected static AbstractMergeAction.TargetLayerDialogResult<Layer>AbstractMergeAction.askTargetLayer(List<? extends Layer> targetLayers, boolean showCheckbox, String checkbox, boolean checkboxDefault, String buttonText) Ask user to choose the target layer and shows a checkbox.private static voidOpenFileAction.OpenFileTask.checkNewLayers(List<Layer> oldLayers) protected Future<?>MergeLayerAction.doMerge(List<? extends Layer> targetLayers, Collection<? extends Layer> sourceLayers) Submits merge of layers.protected Future<?>MergeLayerAction.doMerge(List<? extends Layer> targetLayers, Collection<? extends Layer> sourceLayers) Submits merge of layers.Future<?>Merges a list of layers together.static voidSessionSaveAction.setCurrentLayers(List<Layer> layers) Sets the layers that are currently represented in the session filestatic voidSessionSaveAction.setCurrentSession(File file, List<Layer> layers, Set<SessionWriter.SessionWriterFlags> flags) Sets the current session file and the layers included in that filestatic voidSessionSaveAction.setCurrentSession(File file, List<Layer> layers, SessionWriter.SessionWriterFlags... flags) Sets the current session file and the layers included in that filebooleanToggleUploadDiscouragedLayerAction.supportLayers(List<Layer> layers) private voidSessionSaveAction.SessionSaveAsDialog.updateExporters(Collection<Layer> noExporter) Constructors in org.openstreetmap.josm.actions with parameters of type LayerModifierConstructorDescriptionRenameLayerAction(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 LayerModifier and TypeMethodDescriptionprivate <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 LayerModifier and TypeMethodDescriptionprotected 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 -
Uses of Layer in org.openstreetmap.josm.data
Fields in org.openstreetmap.josm.data declared as LayerMethods in org.openstreetmap.josm.data that return LayerModifier and TypeMethodDescriptionImageData.getLayer()Get the layer that this data is associated with.Methods in org.openstreetmap.josm.data with parameters of type LayerModifier and TypeMethodDescriptionvoidSet the layer for use withImageViewerDialog.displayImages(List) -
Uses of Layer in org.openstreetmap.josm.gui
Fields in org.openstreetmap.josm.gui declared as LayerFields in org.openstreetmap.josm.gui with type parameters of type LayerModifier and TypeFieldDescriptionMapFrame.lastMapModeMapView.nonChangedLayersprivate final 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 LayerModifier and TypeMethodDescriptionprivate MapModeMapFrame.getLastMapMode(Layer newLayer) voidMoves the layer to the given new position.voidMapView.paintLayer(Layer layer, 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 -
Uses of Layer in org.openstreetmap.josm.gui.datatransfer
Fields in org.openstreetmap.josm.gui.datatransfer with type parameters of type LayerMethods in org.openstreetmap.josm.gui.datatransfer that return types with arguments of type LayerModifier and TypeMethodDescriptionLayerTransferable.Data.getLayers()Gets the list of layers that were copied.Constructor parameters in org.openstreetmap.josm.gui.datatransfer with type arguments of type LayerModifierConstructorDescriptionData(LayerManager manager, List<Layer> layers) Create a new data objectLayerTransferable(LayerManager manager, 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 LayerMethods in org.openstreetmap.josm.gui.datatransfer.data that return LayerConstructors in org.openstreetmap.josm.gui.datatransfer.data with parameters of type LayerModifierConstructorDescriptionLayerTransferData(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 LayerModifier and TypeFieldDescriptionprivate LayerLayerListDialog.LayerVisibleCheckBox.layerprivate final LayerLayerListPopup.InfoAction.layerMethods in org.openstreetmap.josm.gui.dialogs that return LayerModifier and TypeMethodDescriptionprivate LayerLayerListDialog.LayerListModel.getActiveLayer()Replies the active layer.LayerListDialog.LayerListModel.getFirstLayer()Replies the first layer.LayerListDialog.LayerListModel.getLayer(int index) Replies the layer at positionindexstatic LayerLayerListDialog.getLayerForIndex(int index) Returns the layer at given index, ornull.LayerListDialog.LayerListModel.getValue(int index) Methods in org.openstreetmap.josm.gui.dialogs that return types with arguments of type LayerModifier and TypeMethodDescriptionLayerListDialog.LayerListModel.getLayers()Replies the list of layers currently managed byMapView.LayerListDialog.LayerListModel.getPossibleMergeTargets(Layer source) Replies a list of layers which are possible merge targets forsourceLayerListDialog.LayerListModel.getSelectedLayers()Replies the list of currently selected layers.Methods in org.openstreetmap.josm.gui.dialogs with parameters of type LayerModifier and TypeMethodDescriptionLayerListDialog.createActivateLayerAction(Layer layer) LayerListDialog.createDuplicateLayerAction(Layer layer) LayerListDialog.createMergeLayerAction(Layer layer) private voidLayerListDialog.LayerListModel.fireMakeVisible(int index, Layer layer) Fires a make visible event to listenersLayerListDialog.getLayerInfo(Layer l) Returns info about 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.voidLayerListDialog.LayerVisibleCheckBox.updateStatus(Layer layer) Constructors in org.openstreetmap.josm.gui.dialogs with parameters of type LayerModifierConstructorDescriptionInfoAction(Layer layer) Constructs a newInfoActionfor the given layer.Constructor parameters in org.openstreetmap.josm.gui.dialogs with type arguments of type LayerModifierConstructorDescriptionLayerListPopup(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 LayerModifier and TypeFieldDescriptionprivate LayerActivateLayerAction.layerprivate LayerDuplicateAction.layerprivate final LayerMergeAction.layerFields in org.openstreetmap.josm.gui.dialogs.layer with type parameters of type LayerModifier and TypeFieldDescriptionprivate WeakReference<Layer>ShowHideLayerAction.lastLayerMergeAction.layersprivate final Supplier<Collection<Layer>>LayerVisibilityAction.layerSupplierMethods in org.openstreetmap.josm.gui.dialogs.layer that return types with arguments of type LayerModifier and TypeMethodDescriptionLayerListTransferHandler.createCopy(List<Layer> layersToUse, List<Layer> namesToAvoid) Methods in org.openstreetmap.josm.gui.dialogs.layer with parameters of type LayerModifier and TypeMethodDescriptionprivate static voidprivate void(package private) booleanActivateLayerAction.isActiveLayer(Layer layer) Method parameters in org.openstreetmap.josm.gui.dialogs.layer with type arguments of type LayerModifier and TypeMethodDescriptionLayerListTransferHandler.createCopy(List<Layer> layersToUse, List<Layer> namesToAvoid) MergeAction.getMultiLayerAction(List<Layer> layers) static StringLayerListTransferHandler.suggestNewLayerName(String name, List<Layer> namesToAvoid) Suggests a new name in the form "copy of name"booleanDeleteLayerAction.supportLayers(List<Layer> layers) booleanLayerVisibilityAction.supportLayers(List<Layer> layers) booleanMergeAction.supportLayers(List<Layer> layers) booleanShowHideLayerAction.supportLayers(List<Layer> layers) Constructors in org.openstreetmap.josm.gui.dialogs.layer with parameters of type LayerModifierConstructorDescriptionActivateLayerAction(Layer layer, LayerListDialog.LayerListModel model) Constructs a newActivateLayerAction.DuplicateAction(Layer layer, LayerListDialog.LayerListModel model) Constructs a newDuplicateAction.privateMergeAction(Layer layer, 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 LayerModifierConstructorDescriptionLayerVisibilityAction(Supplier<Collection<Layer>> layerSupplier, Supplier<Collection<ImageryFilterSettings>> filterSettingsSupplier) Creates a newLayerVisibilityActionMergeAction(List<Layer> layers, LayerListDialog.LayerListModel model) Constructs a newMergeAction.privateMergeAction(Layer layer, 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 LayerModifier and TypeMethodDescriptionstatic booleanSaveLayersDialog.saveUnsavedModifications(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 LayerMethods in org.openstreetmap.josm.gui.io.importexport that return types with arguments of type LayerModifier and TypeMethodDescriptionGpxExporter.getSupportedLayers()Returns the list of supported layers.Methods in org.openstreetmap.josm.gui.io.importexport with parameters of type LayerModifier and TypeMethodDescriptionbooleanFileExporter.acceptFile(File pathname, Layer layer) Check if this exporter can export a certain layer to a certain file.booleanGpxExporter.acceptFile(File pathname, Layer layer) booleanNoteExporter.acceptFile(File pathname, Layer layer) booleanOsmExporter.acceptFile(File pathname, Layer layer) booleanValidatorErrorExporter.acceptFile(File pathname, Layer layer) protected voidvoidFileExporter.exportData(File file, Layer layer) Execute the data export.voidGeoJSONExporter.exportData(File file, Layer layer) voidGpxExporter.exportData(File file, Layer layer) private voidGpxExporter.exportData(File file, Layer layer, boolean quiet) voidNoteExporter.exportData(File file, Layer layer) voidOsmExporter.exportData(File file, Layer layer) voidOsmExporter.exportData(File file, Layer layer, boolean isAutosave) Exports OSM data to the given file.voidValidatorErrorExporter.exportData(File file, Layer layer) voidWMSLayerExporter.exportData(File file, Layer layer) voidFileExporter.exportDataQuiet(File file, Layer layer) Execute the data export without prompting the user.voidGpxExporter.exportDataQuiet(File file, Layer layer) private static GpxDataGpxExporter.getGpxData(Layer layer, 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.layerModifier and TypeClassDescriptionclassAbstractCachedTileSourceLayer<T extends org.openstreetmap.gui.jmapviewer.tilesources.AbstractTMSTileSource>Class providing cache to other layersclassA modifiable layer.classAbstraction ofOsmDataLayer.classAbstractTileSourceLayer<T extends org.openstreetmap.gui.jmapviewer.tilesources.AbstractTMSTileSource>Base abstract class that supports displaying images provided by TileSource.classA layer that displays data from a Gpx file / the OSM gpx downloads.classA layer that displays GpxData.routes from a GPX file.classclassA layer to hold Note objects.classA layer that holds OSM data from a specific dataset.classClass that displays a slippy map layer.classA layer showing error messages.classThis is a layer that grabs the current screen from an WMS server.classWMTS layer based on AbstractTileSourceLayer.Fields in org.openstreetmap.josm.gui.layer declared as LayerModifier and TypeFieldDescriptionprivate LayerMainLayerManager.activeLayerThe layer from the layers list that is currently active.private final LayerLayerManager.LayerAddEvent.addedLayerprivate final LayerLayer.LayerGpxExportAction.layerprivate final LayerLayer.LayerSaveAction.layerprivate final LayerLayer.LayerSaveAsAction.layerprivate final LayerMainLayerManager.ActiveLayerChangeEvent.previousActiveLayerprivate final LayerLayerManager.LayerRemoveEvent.removedLayerFields in org.openstreetmap.josm.gui.layer with type parameters of type LayerModifier and TypeFieldDescriptionCustomizeColor.colorLayersprivate WeakReference<Layer>JumpToMarkerActions.JumpToMarker.lastLayerLayerManager.layersThis is the list of layers we manage.private final Collection<Layer>LayerManager.LayerRemoveEvent.scheduleForRemovalMethods in org.openstreetmap.josm.gui.layer with type parameters of type LayerModifier and TypeMethodDescriptionLayerManager.getLayersOfType(Class<T> ofType) Replies an unmodifiable list of layers of a certain type.Methods in org.openstreetmap.josm.gui.layer that return LayerModifier and TypeMethodDescriptionMainLayerManager.getActiveLayer()Replies the currently active layerLayerManager.LayerAddEvent.getAddedLayer()Gets the layer that was added.MainLayerManager.ActiveLayerChangeEvent.getPreviousActiveLayer()Gets the active layer that was previously used.LayerManager.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 LayerModifier and TypeMethodDescriptionprivate Collection<Layer>LayerManager.fireLayerRemoving(Layer layer) Fire the layer remove eventLayerManager.getLayers()Gets an unmodifiable list of all layers that are currently in this manager.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 Collection<Layer>LayerManager.realRemoveSingleLayer(Layer layerToRemove) Remove a single layer from the mapview (implementation).protected Collection<Layer>MainLayerManager.realRemoveSingleLayer(Layer layer) Methods in org.openstreetmap.josm.gui.layer with parameters of type LayerModifier and TypeMethodDescriptionvoidAdd a layer.voidAdd 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 Collection<Layer>LayerManager.fireLayerRemoving(Layer layer) Fire the layer remove eventstatic LayerPositionStrategyGets aLayerPositionStrategythat inserts this layer in front of a given layerprivate static voidLayerManager.insertLayerAt(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) voidvoidvoidabstract voidMerges the given layer into this layer.voidvoidvoidvoidMove 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 Collection<Layer>LayerManager.realRemoveSingleLayer(Layer layerToRemove) Remove a single layer from the mapview (implementation).protected 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 final 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 LayerModifier and TypeMethodDescriptionstatic booleanAbstractTileSourceLayer.actionSupportLayers(List<Layer> layers) Default implementation ofLayer.LayerAction.supportLayers(List).static LayerPositionStrategyCreates 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.CustomizeColor.getMultiLayerAction(List<Layer> layers) Layer.MultiLayerAction.getMultiLayerAction(List<Layer> layers) Returns the action for a given list of layers.static LayerPositionStrategyLayerPositionStrategy.inFrontOfFirst(Predicate<Layer> what) Gets aLayerPositionStrategythat inserts the layer in front of the first layer that matches a condition.private static voidLayerManager.insertLayerAt(List<Layer> layers, Layer layer, int position) voidLayerManager.LayerRemoveEvent.scheduleRemoval(Collection<? extends Layer> layers) Schedule the removal of other layers after this layer has been deleted.booleanCustomizeColor.supportLayers(List<Layer> layers) booleanImageryLayer.OffsetAction.supportLayers(List<Layer> layers) booleanLayer.LayerAction.supportLayers(List<Layer> layers) Determines if this action supports a given list of layers.booleanLayer.SeparatorLayerAction.supportLayers(List<Layer> layers) private voidLayerManager.updateLayers(Consumer<List<Layer>> mutator) Update theLayerManager.layersfield.Constructors in org.openstreetmap.josm.gui.layer with parameters of type LayerModifierConstructorDescription(package private)ActiveLayerChangeEvent(MainLayerManager source, OsmDataLayer previousDataLayer, Layer previousActiveLayer) Create a newMainLayerManager.ActiveLayerChangeEventConstructs a newCustomizeColorfor a single layer.(package private)LayerAddEvent(LayerManager source, Layer addedLayer, boolean requiresZoom) LayerGpxExportAction(Layer layer) Create a new gpx export action for the given layer.(package private)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 LayerModifierConstructorDescriptionCustomizeColor(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 LayerModifier and TypeClassDescriptionprivate 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.geoimageModifier and TypeClassDescriptionfinal classA support layer meant to be modified by the user to provide real-time images correlation.classLayer displaying geotagged pictures.(package private) classA layer showing geocoded images from Wikimedia CommonsFields in org.openstreetmap.josm.gui.layer.geoimage declared as LayerMethods in org.openstreetmap.josm.gui.layer.geoimage with parameters of type LayerModifier and TypeMethodDescriptionbooleanCorrelationSupportLayer.isMergable(Layer other) booleanGeoImageLayer.isMergable(Layer other) voidprivate voidImageViewerDialog.registerOnLayer(Layer layer) private voidImageViewerDialog.removeImageTab(Layer layer) Remove a tab for a layer from theImageViewerDialog.layerstab paneprivate voidMethod parameters in org.openstreetmap.josm.gui.layer.geoimage with type arguments of type Layer -
Uses of Layer in org.openstreetmap.josm.gui.layer.gpx
Classes in org.openstreetmap.josm.gui.layer.gpx with type parameters of type LayerFields in org.openstreetmap.josm.gui.layer.gpx declared as LayerFields in org.openstreetmap.josm.gui.layer.gpx with type parameters of type LayerMethod parameters in org.openstreetmap.josm.gui.layer.gpx with type arguments of type LayerModifier and TypeMethodDescriptionCustomizeDrawingAction.getMultiLayerAction(List<Layer> layers) DownloadAlongTrackAction.getMultiLayerAction(List<Layer> layers) booleanCustomizeDrawingAction.supportLayers(List<Layer> layers) booleanDownloadAlongTrackAction.supportLayers(List<Layer> layers) Constructors in org.openstreetmap.josm.gui.layer.gpx with parameters of type LayerConstructor parameters in org.openstreetmap.josm.gui.layer.gpx with type arguments of type Layer -
Uses of Layer in org.openstreetmap.josm.gui.layer.imagery
Subclasses of Layer in org.openstreetmap.josm.gui.layer.imageryMethod parameters in org.openstreetmap.josm.gui.layer.imagery with type arguments of type LayerModifier and TypeMethodDescriptionbooleanAutoLoadTilesAction.supportLayers(List<Layer> layers) booleanAutoZoomAction.supportLayers(List<Layer> layers) booleanMVTLayer.ConvertLayerAction.supportLayers(List<Layer> layers) booleanMVTLayer.EnableLayerAction.supportLayers(List<Layer> layers) booleanShowErrorsAction.supportLayers(List<Layer> layers) booleanShowTileBordersAction.supportLayers(List<Layer> layers) -
Uses of Layer in org.openstreetmap.josm.gui.layer.markerlayer
Subclasses of Layer in org.openstreetmap.josm.gui.layer.markerlayerMethods in org.openstreetmap.josm.gui.layer.markerlayer with parameters of type LayerModifier and TypeMethodDescriptionprivate static MarkerMarkerLayer.getAdjacentMarker(Marker startMarker, boolean next, Layer layer) booleanMarkerLayer.isMergable(Layer other) voidMethod parameters in org.openstreetmap.josm.gui.layer.markerlayer with type arguments of type LayerModifier and TypeMethodDescriptionbooleanMarkerLayer.ShowHideMarkerText.supportLayers(List<Layer> layers) -
Uses of Layer in org.openstreetmap.josm.gui.preferences.advanced
Subclasses of Layer in org.openstreetmap.josm.gui.preferences.advanced -
Uses of Layer in org.openstreetmap.josm.io.session
Classes in org.openstreetmap.josm.io.session with type parameters of type LayerModifier and TypeClassDescriptionclassAbstractSessionExporter<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 LayerModifier and TypeFieldDescriptionprotected final TAbstractSessionExporter.layerprivate final LayerSessionReader.LayerDependency.layerFields in org.openstreetmap.josm.io.session with type parameters of type LayerModifier and TypeFieldDescriptionSessionWriter.dependenciesSessionWriter.dependenciesprivate final Map<Layer,SessionLayerExporter> SessionWriter.exportersSessionReader.layersSessionWriter.layersprivate static final Map<Class<? extends Layer>,Class<? extends SessionLayerExporter>> SessionWriter.sessionLayerExportersSessionReader.ImportSupport.subLayersMethods in org.openstreetmap.josm.io.session that return LayerModifier and TypeMethodDescriptionSessionReader.getActive()Returns active layer.protected LayerGpxRoutesSessionImporter.getLayer(GpxImporter.GpxImporterData importData) protected LayerGpxTracksSessionImporter.getLayer(GpxImporter.GpxImporterData importData) SessionReader.LayerDependency.getLayer()static LayerOsmDataSessionImporter.importData(OsmImporter osmImporter, SessionReader.ImportSupport support, String fileStr, ProgressMonitor progressMonitor) Import data as a new layer.GeoImageSessionImporter.load(Element elem, SessionReader.ImportSupport support, ProgressMonitor progressMonitor) GpxTracksSessionImporter.load(Element elem, SessionReader.ImportSupport support, ProgressMonitor progressMonitor) ImagerySessionImporter.load(Element elem, SessionReader.ImportSupport support, ProgressMonitor progressMonitor) MarkerSessionImporter.load(Element elem, SessionReader.ImportSupport support, ProgressMonitor progressMonitor) NoteSessionImporter.load(Element elem, SessionReader.ImportSupport support, ProgressMonitor progressMonitor) OsmDataSessionImporter.load(Element elem, SessionReader.ImportSupport support, ProgressMonitor progressMonitor) SessionLayerImporter.load(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 LayerModifier and TypeMethodDescriptionAbstractSessionExporter.getDependencies()GeoImageSessionExporter.getDependencies()MarkerSessionExporter.getDependencies()SessionLayerExporter.getDependencies()Return the Layers, this Layer depends on.SessionReader.getLayers()Returns list of layers that are later added to the mapview.SessionReader.ImportSupport.getSubLayers()Returns the sub layersMethods in org.openstreetmap.josm.io.session with parameters of type LayerModifier and TypeMethodDescriptionvoidSessionReader.ImportSupport.addSubLayer(int idx, Layer layer, 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, Element e) Method parameters in org.openstreetmap.josm.io.session with type arguments of type LayerModifier and TypeMethodDescriptionstatic voidSessionWriter.registerSessionLayerExporter(Class<? extends Layer> layerClass, Class<? extends SessionLayerExporter> exporter) Register a session layer exporter.Constructors in org.openstreetmap.josm.io.session with parameters of type LayerModifierConstructorDescriptionLayerDependency(Integer index, Layer layer, SessionLayerImporter importer) Constructor parameters in org.openstreetmap.josm.io.session with type arguments of type LayerModifierConstructorDescriptionSessionWriter(List<Layer> layers, int active, Map<Layer, SessionLayerExporter> exporters, MultiMap<Layer, Layer> dependencies, boolean zip) Constructs a newSessionWriter.SessionWriter(List<Layer> layers, int active, Map<Layer, SessionLayerExporter> exporters, MultiMap<Layer, Layer> dependencies, boolean zip) Constructs a newSessionWriter.SessionWriter(List<Layer> layers, int active, Map<Layer, SessionLayerExporter> exporters, MultiMap<Layer, Layer> dependencies, boolean zip) Constructs a newSessionWriter.SessionWriter(List<Layer> layers, int active, Map<Layer, SessionLayerExporter> exporters, MultiMap<Layer, Layer> dependencies, boolean zip) Constructs a newSessionWriter.SessionWriter(List<Layer> layers, int active, Map<Layer, SessionLayerExporter> exporters, MultiMap<Layer, Layer> dependencies, SessionWriter.SessionWriterFlags... flags) Constructs a newSessionWriter.SessionWriter(List<Layer> layers, int active, Map<Layer, SessionLayerExporter> exporters, MultiMap<Layer, Layer> dependencies, SessionWriter.SessionWriterFlags... flags) Constructs a newSessionWriter.SessionWriter(List<Layer> layers, int active, Map<Layer, SessionLayerExporter> exporters, MultiMap<Layer, Layer> dependencies, SessionWriter.SessionWriterFlags... flags) Constructs a newSessionWriter.SessionWriter(List<Layer> layers, int active, Map<Layer, SessionLayerExporter> exporters, MultiMap<Layer, Layer> dependencies, SessionWriter.SessionWriterFlags... flags) Constructs a newSessionWriter.