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 TileSelectionBBoxChooserchooserprivate DownloadDialogparent
-
Constructor Summary
Constructors Constructor Description TileSelection()Constructs a newTileSelection.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddGui(DownloadDialog gui)Add the GUI elements to the dialog.protected voidbuild()voidpropertyChange(java.beans.PropertyChangeEvent evt)voidsetDownloadArea(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:DownloadSelectionAdd the GUI elements to the dialog.- Specified by:
addGuiin interfaceDownloadSelection- Parameters:
gui- download dialog
-
setDownloadArea
public void setDownloadArea(Bounds area)
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
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChangein interfacejava.beans.PropertyChangeListener
-
-