Class SlippyMapChooser
java.lang.Object
org.openstreetmap.josm.gui.download.SlippyMapChooser
- All Implemented Interfaces:
PropertyChangeListener,EventListener,DownloadSelection
JComponent that displays the slippy map tiles.
- Since:
- 1390
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Dimensionprivate DownloadDialogprivate final SlippyMapBBoxChooser -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddGui(DownloadDialog gui) Add the GUI elements to the dialog.final ActionMapReturns the action map of the underlying navigation component.voidfinal voidRefreshes the tile sourcesvoidsetDownloadArea(Bounds area) Sets the current download area.
-
Field Details
-
iGui
-
pnlSlippyMapBBoxChooser
-
iDownloadDialogDimension
-
-
Constructor Details
-
SlippyMapChooser
public SlippyMapChooser()Create the chooser component.
-
-
Method Details
-
addGui
Description copied from interface:DownloadSelectionAdd the GUI elements to the dialog.- Specified by:
addGuiin interfaceDownloadSelection- Parameters:
gui- download dialog
-
setDownloadArea
Description copied from interface:DownloadSelectionSets the current download area. The area may be null to clear the current download area.- Specified by:
setDownloadAreain interfaceDownloadSelection- Parameters:
area- the current download area
-
propertyChange
- Specified by:
propertyChangein interfacePropertyChangeListener
-
refreshTileSources
Refreshes the tile sources- Since:
- 6364
-