public class PlaceSelection extends Object implements DownloadSelection
Modifier and Type | Class and Description |
---|---|
(package private) class |
PlaceSelection.ListSelectionHandler |
(package private) static class |
PlaceSelection.NamedResultCellRenderer |
(package private) static class |
PlaceSelection.NamedResultTableColumnModel |
(package private) static class |
PlaceSelection.NamedResultTableModel |
private static class |
PlaceSelection.NameFinderResultParser
A very primitive parser for the name finder's output.
|
(package private) class |
PlaceSelection.NameQueryTask |
(package private) class |
PlaceSelection.SearchAction |
private static class |
PlaceSelection.SearchResult
Data storage for search results.
|
private static class |
PlaceSelection.Server |
Modifier and Type | Field and Description |
---|---|
private JButton |
btnSearch |
private HistoryComboBox |
cbSearchExpression |
private PlaceSelection.NamedResultTableColumnModel |
columnmodel |
private static String |
HISTORY_KEY |
private PlaceSelection.NamedResultTableModel |
model |
private DownloadDialog |
parent |
private JosmComboBox<PlaceSelection.Server> |
server |
private static PlaceSelection.Server[] |
SERVERS |
private JTable |
tblSearchResults |
Constructor and Description |
---|
PlaceSelection() |
Modifier and Type | Method and 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.
|
private static final String HISTORY_KEY
private HistoryComboBox cbSearchExpression
private PlaceSelection.NamedResultTableModel model
private PlaceSelection.NamedResultTableColumnModel columnmodel
private JTable tblSearchResults
private DownloadDialog parent
private static final PlaceSelection.Server[] SERVERS
private final JosmComboBox<PlaceSelection.Server> server
public PlaceSelection()
protected JPanel buildSearchPanel()
public void addGui(DownloadDialog gui)
addGui
in interface DownloadSelection
public void setDownloadArea(Bounds area)
DownloadSelection
setDownloadArea
in interface DownloadSelection
area
- the current download area