Class TileSelection
- java.lang.Object
-
- org.openstreetmap.josm.gui.download.TileSelection
-
- All Implemented Interfaces:
java.beans.PropertyChangeListener
,java.util.EventListener
,DownloadSelection
public class TileSelection extends java.lang.Object implements DownloadSelection, java.beans.PropertyChangeListener
Tile selector. Provides a tile coordinate input field.
-
-
Field Summary
Fields Modifier and Type Field Description private TileSelectionBBoxChooser
chooser
private DownloadDialog
parent
-
Constructor Summary
Constructors Constructor Description TileSelection()
Constructs a newTileSelection
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addGui(DownloadDialog gui)
Add the GUI elements to the dialog.protected void
build()
void
propertyChange(java.beans.PropertyChangeEvent evt)
void
setDownloadArea(Bounds area)
Sets the current download area.
-
-
-
Field Detail
-
chooser
private TileSelectionBBoxChooser chooser
-
parent
private DownloadDialog parent
-
-
Constructor Detail
-
TileSelection
public TileSelection()
Constructs a newTileSelection
.
-
-
Method Detail
-
build
protected final void build()
-
addGui
public void addGui(DownloadDialog gui)
Description copied from interface:DownloadSelection
Add the GUI elements to the dialog.- Specified by:
addGui
in interfaceDownloadSelection
- Parameters:
gui
- download dialog
-
setDownloadArea
public void setDownloadArea(Bounds area)
Description copied from interface:DownloadSelection
Sets the current download area. The area may be null to clear the current download area.- Specified by:
setDownloadArea
in interfaceDownloadSelection
- Parameters:
area
- the current download area
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChange
in interfacejava.beans.PropertyChangeListener
-
-