Class PlaceSelection
- java.lang.Object
-
- org.openstreetmap.josm.gui.download.PlaceSelection
-
- All Implemented Interfaces:
DownloadSelection
public class PlaceSelection extends Object implements DownloadSelection
Place selector.- Since:
- 1329
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
PlaceSelection.ListSelectionHandler
(package private) static class
PlaceSelection.NamedResultCellRenderer
(package private) static class
PlaceSelection.NamedResultTableColumnModel
(package private) static class
PlaceSelection.NamedResultTableModel
(package private) static class
PlaceSelection.NameQueryTask
(package private) class
PlaceSelection.SearchAction
Action to perform initial search, and (if query is unchanged) load more results.private static class
PlaceSelection.Server
-
Field Summary
Fields Modifier and Type Field Description private HistoryComboBox
cbSearchExpression
private PlaceSelection.NamedResultTableColumnModel
columnmodel
private static String
HISTORY_KEY
private PlaceSelection.NamedResultTableModel
model
private DownloadDialog
parent
private JosmComboBox<PlaceSelection.Server>
serverComboBox
private static PlaceSelection.Server[]
SERVERS
private JTable
tblSearchResults
-
Constructor Summary
Constructors Constructor Description PlaceSelection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addGui(DownloadDialog gui)
Adds a new tab to the download dialog in JOSM.protected JPanel
buildSearchPanel()
void
setDownloadArea(Bounds area)
Sets the current download area.
-
-
-
Field Detail
-
HISTORY_KEY
private static final String HISTORY_KEY
- See Also:
- Constant Field Values
-
cbSearchExpression
private HistoryComboBox cbSearchExpression
-
model
private PlaceSelection.NamedResultTableModel model
-
columnmodel
private PlaceSelection.NamedResultTableColumnModel columnmodel
-
tblSearchResults
private JTable tblSearchResults
-
parent
private DownloadDialog parent
-
SERVERS
private static final PlaceSelection.Server[] SERVERS
-
serverComboBox
private final JosmComboBox<PlaceSelection.Server> serverComboBox
-
-
Constructor Detail
-
PlaceSelection
public PlaceSelection()
-
-
Method Detail
-
buildSearchPanel
protected JPanel buildSearchPanel()
-
addGui
public void addGui(DownloadDialog gui)
Adds a new tab to the download dialog in JOSM. This method is, for all intents and purposes, the constructor for this class.- 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
-
-