Class WikimediaCommonsLayer
- java.lang.Object
-
- org.openstreetmap.josm.gui.layer.AbstractMapViewPaintable
-
- org.openstreetmap.josm.gui.layer.Layer
-
- org.openstreetmap.josm.gui.layer.AbstractModifiableLayer
-
- org.openstreetmap.josm.gui.layer.geoimage.GeoImageLayer
-
- org.openstreetmap.josm.gui.layer.geoimage.WikimediaCommonsLayer
-
- All Implemented Interfaces:
ImageData.ImageDataUpdateListener
,Lockable
,ProjectionChangeListener
,DownloadFromServer
,IGeoImageLayer
,JumpToMarkerActions.JumpToMarkerLayer
,MapViewPaintable
,SaveToFile
,UploadToServer
,NavigatableComponent.ZoomChangeListener
,Destroyable
class WikimediaCommonsLayer extends GeoImageLayer
A layer showing geocoded images from Wikimedia Commons
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstreetmap.josm.gui.layer.Layer
Layer.LayerAction, Layer.LayerGpxExportAction, Layer.LayerSaveAction, Layer.LayerSaveAsAction, Layer.MultiLayerAction, Layer.SeparatorLayerAction
-
Nested classes/interfaces inherited from class org.openstreetmap.josm.gui.layer.AbstractMapViewPaintable
AbstractMapViewPaintable.CompatibilityModeLayerPainter
-
Nested classes/interfaces inherited from interface org.openstreetmap.josm.gui.layer.geoimage.IGeoImageLayer
IGeoImageLayer.ImageChangeListener
-
Nested classes/interfaces inherited from interface org.openstreetmap.josm.gui.layer.MapViewPaintable
MapViewPaintable.LayerPainter, MapViewPaintable.MapViewEvent, MapViewPaintable.PaintableInvalidationEvent, MapViewPaintable.PaintableInvalidationListener
-
-
Field Summary
-
Fields inherited from class org.openstreetmap.josm.gui.layer.geoimage.GeoImageLayer
gpxData, gpxFauxData, gpxFauxLayer, thumbsLoaded, useThumbs
-
Fields inherited from class org.openstreetmap.josm.gui.layer.AbstractModifiableLayer
REQUIRES_SAVE_TO_DISK_PROP
-
Fields inherited from class org.openstreetmap.josm.gui.layer.Layer
FILTER_STATE_PROP, NAME_PROP, OPACITY_PROP, propertyChangeSupport, VISIBLE_PROP
-
-
Constructor Summary
Constructors Constructor Description WikimediaCommonsLayer(java.util.List<ImageEntry> imageEntries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.Icon
getIcon()
Return a representative small image for this layer.-
Methods inherited from class org.openstreetmap.josm.gui.layer.geoimage.GeoImageLayer
addImageChangeListener, applyTmp, attachToMapView, clearSelection, containsImage, create, destroy, discardTmp, drawDirectionArrow, getChangesetSourceTag, getData, getFauxGpxData, getFauxGpxLayer, getGpxCorrelateAction, getGpxData, getGpxLayer, getImageData, getImageDimension, getImages, getInfoComponent, getInvalidGeoImages, getMenuEntries, getPhotoUnderMouse, getSelection, getSortedImgList, getToolTipText, hookUpMapView, imageDataUpdated, isMergable, isModified, isUseThumbs, jumpToNextMarker, jumpToPreviousMarker, mergeFrom, paint, registerMenuAddition, registerSupportedMapMode, removeImageChangeListener, selectedImageChanged, setUseThumbs, showCurrentPhoto, startLoadThumbs, stopLoadThumbs, thumbsLoaded, updateBufferAndRepaint, visitBoundingBox, zoomChanged
-
Methods inherited from class org.openstreetmap.josm.gui.layer.AbstractModifiableLayer
autosave, createUploadTask, getUploadDialog, isDirty, isDownloadable, isLocked, isUploadable, isUploadDiscouraged, isUploadInProgress, lock, onPostSaveToFile, onPostUploadToServer, requiresSaveToFile, requiresUploadToServer, unlock
-
Methods inherited from class org.openstreetmap.josm.gui.layer.Layer
addPropertyChangeListener, checkSaveConditions, createAndOpenSaveFileChooser, fireFilterStateChanged, fireOpacityChanged, fireVisibleChanged, getAssociatedFile, getColor, getDefaultLayerPosition, getLabel, getName, getOpacity, getViewProjectionBounds, hasColor, isBackgroundLayer, isInfoResizable, isProjectionSupported, isRenamed, isSavable, isVisible, nameSupportedProjections, onPostLoadFromFile, projectionChanged, removePropertyChangeListener, rename, setAssociatedFile, setBackgroundLayer, setColor, setFilterStateChanged, setName, setOpacity, setVisible, toggleVisible, toString
-
Methods inherited from class org.openstreetmap.josm.gui.layer.AbstractMapViewPaintable
addInvalidationListener, createMapViewPainter, invalidate, removeInvalidationListener
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.openstreetmap.josm.gui.layer.SaveToFile
isSavable
-
-
-
-
Constructor Detail
-
WikimediaCommonsLayer
WikimediaCommonsLayer(java.util.List<ImageEntry> imageEntries)
-
-
Method Detail
-
getIcon
public javax.swing.Icon getIcon()
Description copied from class:Layer
Return a representative small image for this layer. The image must not be larger than 64 pixel in any dimension.- Overrides:
getIcon
in classGeoImageLayer
- Returns:
- layer icon
-
-