public class DownloadAlongTrackAction extends DownloadAlongAction
JosmAction.LayerChangeAdapter, JosmAction.SelectionChangeAdapter
Modifier and Type | Field and Description |
---|---|
private GpxData |
data |
private static int |
NEAR_BOTH |
private static int |
NEAR_TRACK |
private static int |
NEAR_WAYPOINTS |
private static java.lang.String |
PREF_DOWNLOAD_ALONG_TRACK_AREA |
private static java.lang.String |
PREF_DOWNLOAD_ALONG_TRACK_DISTANCE |
private static java.lang.String |
PREF_DOWNLOAD_ALONG_TRACK_GPS |
private static java.lang.String |
PREF_DOWNLOAD_ALONG_TRACK_NEAR |
private static java.lang.String |
PREF_DOWNLOAD_ALONG_TRACK_OSM |
sc
Constructor and Description |
---|
DownloadAlongTrackAction(GpxData data)
Constructs a new
DownloadAlongTrackAction |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
addToDownload, confirmAndDownloadAreas
destroy, getCurrentDataSet, getEditLayer, getShortcut, initEnabledState, installAdapters, setTooltip, updateEnabledState, updateEnabledState
private static final int NEAR_TRACK
private static final int NEAR_WAYPOINTS
private static final int NEAR_BOTH
private static final java.lang.String PREF_DOWNLOAD_ALONG_TRACK_OSM
private static final java.lang.String PREF_DOWNLOAD_ALONG_TRACK_GPS
private static final java.lang.String PREF_DOWNLOAD_ALONG_TRACK_DISTANCE
private static final java.lang.String PREF_DOWNLOAD_ALONG_TRACK_AREA
private static final java.lang.String PREF_DOWNLOAD_ALONG_TRACK_NEAR
public DownloadAlongTrackAction(GpxData data)
DownloadAlongTrackAction
data
- The GPX data used to download alongpublic void actionPerformed(java.awt.event.ActionEvent e)