org.openstreetmap.josm.gui.download
Class PlaceSelection

java.lang.Object
  extended by org.openstreetmap.josm.gui.download.PlaceSelection
All Implemented Interfaces:
DownloadSelection

public class PlaceSelection
extends java.lang.Object
implements DownloadSelection


Nested Class Summary
(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
           
 
Field Summary
private  javax.swing.JButton btnSearch
           
private  HistoryComboBox cbSearchExpression
           
private  PlaceSelection.NamedResultTableColumnModel columnmodel
           
private static java.lang.String HISTORY_KEY
           
private  PlaceSelection.NamedResultTableModel model
           
private  DownloadDialog parent
           
private  JosmComboBox server
           
private static PlaceSelection.Server[] servers
           
private  javax.swing.JTable tblSearchResults
           
 
Constructor Summary
PlaceSelection()
           
 
Method Summary
 void addGui(DownloadDialog gui)
          Adds a new tab to the download dialog in JOSM.
protected  javax.swing.JPanel buildSearchPanel()
           
 void setDownloadArea(Bounds area)
          Sets the current download area.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HISTORY_KEY

private static final java.lang.String HISTORY_KEY
See Also:
Constant Field Values

cbSearchExpression

private HistoryComboBox cbSearchExpression

btnSearch

private javax.swing.JButton btnSearch

model

private PlaceSelection.NamedResultTableModel model

columnmodel

private PlaceSelection.NamedResultTableColumnModel columnmodel

tblSearchResults

private javax.swing.JTable tblSearchResults

parent

private DownloadDialog parent

servers

private static final PlaceSelection.Server[] servers

server

private final JosmComboBox server
Constructor Detail

PlaceSelection

public PlaceSelection()
Method Detail

buildSearchPanel

protected javax.swing.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 interface DownloadSelection

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 interface DownloadSelection


JOSM