Class BoundingBoxSelection
java.lang.Object
org.openstreetmap.josm.gui.download.BoundingBoxSelection
- All Implemented Interfaces:
DownloadSelection
Bounding box selector.
Provides max/min lat/lon input fields as well as the "URL from www.openstreetmap.org" text field.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) class(package private) class(package private) class(package private) class(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Borderprivate JosmTextField[]private DownloadDialogprivate final JosmTextAreaprivate final JosmTextArea -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddGui(DownloadDialog gui) Add the GUI elements to the dialog.protected voidReplies the download area.private booleanparseURL(DownloadDialog gui) protected voidprotected voidvoidsetDownloadArea(Bounds area) Sets the current download area.protected voidsetErrorMessage(JosmTextField tf, String msg) private voidupdateBboxFields(Bounds area) private void
-
Field Details
-
latlon
-
tfOsmUrl
-
showUrl
-
parent
-
errorBorder
-
-
Constructor Details
-
BoundingBoxSelection
public BoundingBoxSelection()
-
-
Method Details
-
registerBoundingBoxBuilder
-
buildDownloadAreaInputFields
-
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
-
getDownloadArea
Replies the download area.- Returns:
- The download area
-
parseURL
-
updateBboxFields
-
updateUrl
-
setErrorMessage
-
resetErrorMessage
-